V
Vergassivellaunus
Guest
I have a string coming from a file that when read is like this:
"2773 " & vdTab & "4885 " & vdTab & "963"
or like this:
"2773 4885 963"
i would like to get:
a(0)=230
a(1)=4885
a(2)=963
with:
a = b.Split({" "c}, StringSplitOptions.RemoveEmptyEntries)
i resolve the second case, but not the first. Is there a general way to have only the numbers, even if the string is:
"2773 not numbers 4885 not numbers 963" ?
Thanks, Enzo
Continue reading...
"2773 " & vdTab & "4885 " & vdTab & "963"
or like this:
"2773 4885 963"
i would like to get:
a(0)=230
a(1)=4885
a(2)=963
with:
a = b.Split({" "c}, StringSplitOptions.RemoveEmptyEntries)
i resolve the second case, but not the first. Is there a general way to have only the numbers, even if the string is:
"2773 not numbers 4885 not numbers 963" ?
Thanks, Enzo
Continue reading...