Hey folks. Quick question: can anyone come up with a way to do the following:
This would be trivial for any other programming tool but I can't seem to find anything in C2 which can do it easily.
Develop games in your browser. Powerful, performant & highly capable.
Nevermind, got it!
Psuedocode:
local number token = 0
Repeat (tokencount(textbox.text, newline) times
-> Push back Array (tokenat(textbox.text, token, newline)
-> Add 1 to token
EDIT: instead of the local variable you can actually just use loopindex