Say for example I have some data that reads:
"Bob|25|Male|Tall|Mary|24|Female|Short|Alex|48|Male|Medium"
I note that each section is divided into 4. So every 4 tokens is a different Name, and the following 3 are details about said person.
I want to put this data into an array.
Now, I've found that when I have data such as:
"Bob|25|Mary|24|Alex|48|"
I can sort this data easily by counting the "|" tokens and using a for-loop.
For 0 to TokenCount-1
if loopindex%2 = 0
How do I do this kind of thing when I have more than 2 columns for my data?
Sorry if I'm not making much sense :) Please ask and I'll try again to explain :)