J
Jeannot
Dim re As New Regex("\s([0-9]+)\s")
Dim mc As Match = re.Match("Puppy measures 13 inches ")
Dim s As String = mc.Groups.Item(0).ToString()
s is " 13 " with a leading and a trailing space, and driving me nuts.
My set of parenthesis clearly specify only digits, where do the spaces
come from???.
What am I doing wrong????
VS2008 .net 3.5
Dim mc As Match = re.Match("Puppy measures 13 inches ")
Dim s As String = mc.Groups.Item(0).ToString()
s is " 13 " with a leading and a trailing space, and driving me nuts.
My set of parenthesis clearly specify only digits, where do the spaces
come from???.
What am I doing wrong????
VS2008 .net 3.5