vector< string > explode

(const string &sSeparator,
  const string &sString)

Converts a custom separated string into a string vector.

Documentation

Converts a custom separated string into a string vector. This function separates all items in sString which are separated by sSeparator and stores these items in a string vector which is returned. You can use this function to convert a comma-separated string into a list of strings.

Alphabetic index



This page was generated with the help of DOC++.