wibble 1.1
|
Split a string where a given substring is found. More...
#include <string.h>
Classes | |
class | const_iterator |
Public Member Functions | |
Split (const std::string &sep, const std::string &str) | |
Create a splitter that uses the given regular expression to find tokens. | |
const_iterator | begin () const |
Split the string and iterate the resulting tokens. | |
const_iterator | end () const |
Split a string where a given substring is found.
This does a similar work to the split functions of perl, python and ruby.
Example code:
Create a splitter that uses the given regular expression to find tokens.
|
inline |
Split the string and iterate the resulting tokens.
|
inline |
Referenced by wibble::str::Split::const_iterator::operator++().