How can I send all numbers in a textbox to an array ?
From Textbox to Array
Post a Reply
|Oldest Newest Rating|
· February 7, 2016
The textbox contains a string.
string.split() will put them into an array.
Then make a new array of int or double the size of the string array.
Then use a for loop with a parse method to put the numbers into the array.
· February 11, 2016
hmm i'm not sure but you can just initialize an array integer and then use a for loop along with it
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|