balanj Level: Trainee
 Registered: 16-09-2006 Posts: 1
|
Convert Text String to Array
I have a textbox which displays a series of numbers.
I'm hoping to convert the numbers in the textbox into a Number Array... which I need to place into a Line Chart (as a series of Data Points)
For example, my textbox looks like:
txtNumbers.Text = 10, 20, 30, 40, 50
Now, I need to take the String, and convert to a Number Array... for my chart data array:
Dim data()
data = Array(10, 20, 30, 40, 50)
I'm still learning VB, so any help will be GREATLY appreciated!!!
Thanks!!!
|