I have a textbox that is used to enter multiple 2-digit numbers, separated by commas. I want to assign each 2-digit number to a separate string variable (or array element).
For example:
If the textbox contains "22,25,29,31" I want to have variables like these:
Str1 = "22"
Str2 = "25"
Str3 = "29"
Str4 = "31"
I'm sure the best way to do this would be with an array. I don't know how to go about it though.
Any help is greatly appreciated.
For example:
If the textbox contains "22,25,29,31" I want to have variables like these:
Str1 = "22"
Str2 = "25"
Str3 = "29"
Str4 = "31"
I'm sure the best way to do this would be with an array. I don't know how to go about it though.
Any help is greatly appreciated.