Function TRAP::Utils::String::SplitString(const std::string&, std::string_view)#

Function Documentation#

constexpr std::vector<std::string> TRAP::Utils::String::SplitString(const std::string &str, std::string_view delimiters)#

Split a string by the delimiter(s).

Parameters:
  • str – String to split up.

  • delimiters – Delimiter(s) to split source string with.

Returns:

Vector of strings splitted by the given delimiter(s).