Function Blam::Utils::String::split

Function Documentation

std::vector<std::string> Blam::Utils::String::split(std::string string, std::string splitter)

Splits a string around any instance of a substring.

If string is “Bungie|Is|Cool”, and splitter is “|”, then the resulting string list would contain the following:

Return

A list of strings resulting from the split.

Parameters
  • string: - The original string.

  • splitter: - The string to act as the splitter.