Dim Res As String
Dim str As String = "Sandeep123Kumar"
For Each c As Char In str
If IsNumeric(c) Then
Res = Res & c
End If
Next
MessageBox.Show(Res)
Dim str As String = "Sandeep123Kumar"
For Each c As Char In str
If IsNumeric(c) Then
Res = Res & c
End If
Next
MessageBox.Show(Res)