|
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 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.