Function Util::split

Function Util::split#

Function Documentation#

std::vector<std::string> Util::split(const std::string &str, const std::string &delims, bool remove_empty, bool quoted_names)#

Splits a given string expression using the given delimiter string.

Parameters:
  • str – the string to divide

  • delims – the delimiter string

  • remove_empty – option to remove empty tokens

  • qouted_names – option to allow qouted names

Returns:

the tokens or an empty vector