Hi,
I like to know to split a string value from a mixed value
suppose
Dim MyStr As String = "Check121"
Dim Regex As String = Space(15)
For i1 As Integer = 0 To MyStr.Length - 1
If Not IsNumeric(MyStr.Substring(i1, 1)) Then
Regex = Trim(Regex) + MyStr.Substring(i1, 1)
End If
Next
Now the result will be "Check"
Is there any short ideas?
Thanks
I like to know to split a string value from a mixed value
suppose
Dim MyStr As String = "Check121"
Dim Regex As String = Space(15)
For i1 As Integer = 0 To MyStr.Length - 1
If Not IsNumeric(MyStr.Substring(i1, 1)) Then
Regex = Trim(Regex) + MyStr.Substring(i1, 1)
End If
Next
Now the result will be "Check"
Is there any short ideas?
Thanks