Changeset 659 for code/branches/FICN/src/misc/Tokenizer.h
- Timestamp:
- Dec 20, 2007, 4:10:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/misc/Tokenizer.h
r612 r659 6 6 7 7 /** 8 * String tokenizer9 *10 * Splits a given string into several smaller strings11 * using a delmiter (default is the comma).12 * Returns the result as a vector<string> object13 *14 * @author Nicolas Perrenoud<nicolape@ee.ethz.ch>15 */8 * String tokenizer 9 * 10 * Splits a given string into several smaller strings 11 * using a delmiter (default is the comma). 12 * Returns the result as a vector<string> object 13 * 14 * @author Nicolas Perrenoud<nicolape@ee.ethz.ch> 15 */ 16 16 17 17 inline std::vector<std::string> tokenize(const std::string& str, const std::string& delimiters = ",")
Note: See TracChangeset
for help on using the changeset viewer.