As the subject suggests I need to break apart strings, strings that may be composed as follows:
"one|two|three"
I need to break them apart at the "|" and drop the three (in this case) into an array so that:
Array(0)="one"
Array(1)="two"
Array(2)="three"
And so on. Now, the big thing is that the strings could contain any number of 'items', so one could be "one|two|three" while another could be "one|two|three|four|five|six" and so on...
Is this possible? I've done something similar in JSP but now need to do it in ASP, and I'm at a loss, can anyone help me?
Thanks in advance!
T.C.
"one|two|three"
I need to break them apart at the "|" and drop the three (in this case) into an array so that:
Array(0)="one"
Array(1)="two"
Array(2)="three"
And so on. Now, the big thing is that the strings could contain any number of 'items', so one could be "one|two|three" while another could be "one|two|three|four|five|six" and so on...
Is this possible? I've done something similar in JSP but now need to do it in ASP, and I'm at a loss, can anyone help me?
Thanks in advance!
T.C.