Usually people use strtok to tokenize a string. There is a char* delims in this function. However the effect may not as you expected. E.g., assume delims="and", "ya and you and wa" is tokenized as "y you w" instead of "ya you wa".
Here is the solution, thanks to the anonymous coders. I found this via Google.
Thursday, November 8, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment