Page 1 of 1

PostPosted: Thu Apr 08, 2004 10:51 am
by Jules Saunderson
Is there a way to read from memos other than line by line? I want to be able to read from a list seperated by comas rather than writing everything on a new line. What's the simplest way to do this please.
Cheers,
Jules

PostPosted: Sun Apr 11, 2004 4:40 pm
by gmigueis
You could read the entire memo into a string and then use the built-in string tokenizer to get your coma separated items! (the function is strtok, I think).
Hope it helps.

PostPosted: Mon Apr 12, 2004 10:12 am
by Jules Saunderson
That's great thanks,