I wrote a simple split method to save time.
It's much faster than .split and Tokenizer, but I doubt it's optimal.. Either way, I had what I thought was a good idea..
In stead of using a temp array and copying every
String into a result array, I wanted to store the size of the array in the last cell, like this:
and just return the temp array.. when iterating over the array later thought I could use
and just ignore the empty cells.
However, this doesn't work for some reason... Am I missing something really obvious here?