theArray as String[]
theArray = split(splits, ";")
function split (stringToSplit$, delimterSymbol$)
count = CountStringTokens(stringToSplit$, delimterSymbol$)
splitArray as String[]
for i = 1 to (count) step 1
splitArray.insert(GetStringToken(stringToSplit$, delimterSymbol$, i))
next i
endfunction splitArray
I tested this. But I realized the arrays are 1 based, so you gotta print each string from 1 to length. Interesting that it just copies the same value in 0.
I saw this and was like "I can see why they did this, but it should still have a function".
Also, modifying this to ref the array might do better performance.
Signed
------