Parses a string into its delimited parts with a specified delimiter.
std::vector< std::string > parseString( const std::string& str, char sep );
|
Parameters |
Description |
|
const std::string& str |
The string to parse. |
|
char sep |
The separator character. If omitted, a space is used. |
A vector of the strings contained in the input.
|
Copyright (c) 2010. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|