nw::string::split

Vector<String> nw::string::split(const String &str, char delim, bool skipEmpty = true, bool trimmed = true)

Splits a string into an vector of strings.

Parameters:
  • str – String to split

  • delim – Delimiter

  • skipEmpty – Ignore empty strings

  • trimmed – Trim strings after split

Returns:

Vector<String>