sscanf question

This is a discussion on sscanf question within the C++ Programming forums, part of the General Programming Boards category; Salem used sscanf in a snippet of code he gave me a bit ago, and it was interesting (I've always ...

sscanf question

Salem used sscanf in a snippet of code he gave me a bit ago, and it was interesting (I've always just done strstr parsing), but I need a bit more information about sscanf and I can't find it elsewhere x.X

The question I have is in sscanf, when using something like %[^:], it copies everything in front of the :. How would I get it to copy everything behind it? I tried removing the ^, but it just returned nothing :/