Saving Serial.read() as a string, and splitting the string

Graynomad:
Do a loop that reads characters from the serial port and writes them into an array.
NULL terminate the "string" as you go.

Yes, I am thinking about that. It seems like the... best way for me to do things. I believe I will do that, since that will also let me check if the next character is the character I want to split it at.

Graynomad:
If you want a proper split() equivalent you'll have to write it yourself, however if you just want to chop the string into two or three pieces that's easy.

PaulS told me about strtok(), and although it's interesting, I will have to test both ways (the aforementioned method and the said strtok() function)