Hi,
my problem is, I would like to convert a String into an Integer.
My String is filled with one- or two digit numbers, letters and characters, e.g.:
Dim a As String = "9AB_C"
Dim b As String = "abc_22xyz"
Dim c As Integer
Dim d As Integer
b should have the value "9"
d should have the value "22"
What can I do? The split-function only cuts the string... I would like to read it and get rid of everything except the numbers.
Thank you!
my problem is, I would like to convert a String into an Integer.
My String is filled with one- or two digit numbers, letters and characters, e.g.:
Dim a As String = "9AB_C"
Dim b As String = "abc_22xyz"
Dim c As Integer
Dim d As Integer
b should have the value "9"
d should have the value "22"
What can I do? The split-function only cuts the string... I would like to read it and get rid of everything except the numbers.
Thank you!