Comma delimiting with serial input

Hi All,

Can someone please point me in the right direction?

Given a serial input like "i, haven't, a, clue, how, to, do, this" can I extract the "how" and "this" from the input, discard the contents and save these values as new variables?

Can it be done?

Cheers - Tim

http://www.gnu.org/s/libc/manual/html_node/Finding-Tokens-in-a-String.html

Many thanks AWOL.

It took a while but I think it makes sense now. also picked up some more string handling techniques.....

Many, many thanks - Tim