real string functions?

guys

i have a quick comment on the solution.
We're on a microcontroller with 1k of ram, doing string manipulation in a way it's kinda risky. if you keep allocating new buffers (as the string grows) who's going to guarantee that in the long run the code it's not going to run out of memory.
and all of this to have human readable commands....
just use a lighter protocol. say that each command is a single uppercase letter and make sure you send the parametres using some predictable fixed length message.
your code will be lighter and more predictable.

remember this is not actionscript and you don't have 1gb of ram so it doesn't matter how you use your strings.

just my 2cent

massimo