String split function

BlitzMax Forums/BlitzMax Programming/String split function

Ok, I've added the element flags stuff, so now its probably the most bloated split function ever :) But thats ok because most of the time using it is simple unless you want it to do alot for you like I have it doing in this example.

After trying a loop of the split function, i've noticed its pretty slow, which wont work well at all in my application. I'm pretty sure its because of all the arrays it creates, so I'm going to try to make the temp arrays global. The only side effect is that there is a maximum token limit.