Tuesday, July 29, 2014

How can i remove/delete digits in the beginning of a string ?

Another approach is to use a regular expression.

string result = Regex.Replace( input, @"^\d*\.\s*", string.Empty );


No comments:

Post a Comment