trunk/src/LythumOSL.Core/Helpers.cs
/// <summary>
/// Removes everything wat is not number
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
Removes everything wat is not number
Removes everything wat is not number
public static string RemoveNonNumeric (string text)
		{
			string retVal = string.Empty;
			foreach (char c in text)
			{
				if (c >= '0' && c <= '9')
				{
					retVal += c;
				}
			}
			return retVal;
		}
public static string RemoveNonNumeric ( string text ) { string retVal = string . Empty ; foreach ( char c in text ) { if ( c >= ' ' && c <= ' ' ) { retVal += c ; } } return retVal ; }
Removes everything wat is not number
Removes everything wat is not number
None
text
string
value
None