Code: Select all
list ($type, $value) = sscanf("string:foobar", "%s:%s");I'm currently using substr() but spotted this cool looking function in the manual. Will it always be too greedy?
Moderator: General Moderators
Code: Select all
list ($type, $value) = sscanf("string:foobar", "%s:%s");