>I use the following function as my easily adaptable, portable strtok():
>
>char *skip( register char *p, register c)
>{
> while(*p && (*p != c) && ('\n' != *p))
> ++p;
> if(*p)
> *p++ = 0;
> return(p);
>}
This is only safe to use when the value of <c> is less than 0x40, as
otherwise you might find the low byte of a multi-byte character.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/