Function gamer::stringutil::split

Function Documentation

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

Split a string into a vector of substrings.

Return

Vector of substrings split at delimiters

Parameters
  • [in] cstr: Input string to split

  • [in] delim: Vector of delimiters to split at