I am having problem in breaking string aparts.
I know that we can use strtok to tokenize a string but by using that 
we can only use 1 char as a delimiter.
like:
strtok(string, "*");

so how do you break string aparts if the delimiter is a string that 
more than 1 char length?

eg:
string = "this is the 1st string *** this is the 2nd string"
and break it into
string1 = "this is the 1st string"
string2 = "this is the 2nd string"

Thanks a lot.
 






>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at 
http://www.eScribe.com/software/C-Paradise/

>------------------------------------------_->


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/C-Paradise/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to