I've got a really messy text file that I need to work on and the only
things separating each record is either "\r\n\r\n" or "Total:".
I figure I won't be able to use strtok because it will split the string
when it matches any rather than all of the chars in the delimiter.
Is there an easy way to split it based on a string (read char*) rather
than a char?
TIA
Mark
things separating each record is either "\r\n\r\n" or "Total:".
I figure I won't be able to use strtok because it will split the string
when it matches any rather than all of the chars in the delimiter.
Is there an easy way to split it based on a string (read char*) rather
than a char?
TIA
Mark
Comment