In .NET, you could extract just the digits from the string. Using Linq like this:
string justNumbers = new String(text.Where(Char.IsDigit).ToArray());
Don’t forget to include using System.Linq
In .NET, you could extract just the digits from the string. Using Linq like this:
string justNumbers = new String(text.Where(Char.IsDigit).ToArray());
Don’t forget to include using System.Linq