Collapse All

Anypia Programmer's Documentation |  |

parseString Function
StringParser.h Functions Send Feedback

Parses a string into its delimited parts with a specified delimiter.

C++

    std::vector< std::string > parseString(
        const std::string& str,
        char sep
    );

File

StringParser.h

Parameters

Parameters | Description
const std::string& str | The string to parse.
char sep | The separator character. If omitted, a space is used.

Returns

A vector of the strings contained in the input.

Group

Functions

Links
StringParser.h, Functions

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!