|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| void drama::stringtok | ( | Container & | container, |
| std::string const & | in, | ||
| const char *const | delimiters = " \t\n\r" |
||
| ) |
stringtok is a replacement for C's strtok() function.
It breaks a string up into tokens.
Each token is stored in a STL container.
| Container | The type of the container to be used. Any with push_back() should work. |
| container | Each token found in the input string is stored in this container. |
| in | The string to be broken into tokens. |
| delimiters | The characters which are used to split the string into tokens. It is each character in this string, rather then the string itself, which are the delimiters. |
References CreateRunDramaTask().