Function TRAP::Utils::String::SplitStringView(std::string_view, std::string_view)#

Function Documentation#

constexpr std::vector<std::string_view> TRAP::Utils::String::SplitStringView(std::string_view 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).