C strtok question
Koryn Grant
koryn.grant at gmail.com
Wed Apr 11 12:36:20 PDT 2007
On 11/04/2007, at 9:27 PM, Uli Kusterer wrote:
> But you could do worse than using strtok_r(), obviously. By the
> way: If you're using Cocoa, you may want to look into NSScanner and
> NSString's componentsSeparatedByString:.
For the majority of my (non-Java) development portability is a
priority, so I stick to ISO C and SUSv3 as closely as possible.
Hence my preference for strtok_r() over strtok() or strsep().
Cheers,
Koryn
More information about the MacOSX-dev
mailing list