This is what I am trying to do:
$str is something like "Hello, this is a string with white space in it.|Second half with white space." How can I get both $part1 and $part2 to include all the spaces?PHP Code:sscanf($str, "%s|%s", $part1, $part2);
|
Results 1 to 2 of 2
Thread: sscanf and spacesThreaded View
|
Click Here to Expand Forum to Full Width |