string to array
Posted on 2014-01-22
Suppose I have the following string:
stringExample = CStr(Request.Form("certainfield"))
Just for the sake of the question, imagine 93, 94, 106, 114, 134 as the stringExample.
I would like to create an array (say arrayExample) such that:
arrayExample = 93
arrayExample = 94
arrayExample = 134
Important: my string is made only of integers separated by commas, but the number of integers is not always the same.
Could you please show me how this could be done?