Use boost::tokenizer. It supports multiple separators.
In fact, you don't really even need boost::tokenizer. If all you want is a split, use boost::split. The documentation has an example:
http://www.boost.org/doc/libs/1_42_0/doc/html/string_algo/usage.html#id1718906