Function gamer::stringutil::split

Function Documentation

inline std::vector<std::string> gamer::stringutil::split(const std::string &cstr, std::vector<char> delim = {' ', '\t'})

Split a string into a vector of substrings.

Parameters
  • cstr[in] Input string to split

  • delim[in] Vector of delimiters to split at

Returns

Vector of substrings split at delimiters