× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Tom,

That's the one reason many "parsers" have moved away from strtok.

Bob

-----Original Message-----


Jon:

I wondered if anyone would mention strtok(), very handy function. I'd
been looking at using it to parse strings for embedded quotes.

First thought was to wrap each returned token in quotes and add that
result to a result string rebuilding it token by token. But I quickly
discarded that thought because strtok() apparently skips consecutive
delimiters making it unsuitable when the original string contains
consecutive quotes. Too bad because it could make a nice,
straightforward procedure otherwise.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.