Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27512

Quick question on strings

$
0
0
I have a string which contains numbers of different lengths separated by a space
e.g. "92 34 556 1 23 990"

What would be the best way to get each number in turn and put those in an array?
So in this case, I would get

number(0) = 92
number(1) = 34
e.t.c

Dont worry about making a checker to check for invalid inputs such as letters or extra spaces, but if you can do that would be awesome :')

Viewing all articles
Browse latest Browse all 27512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>