MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / Split

Method Split

src/base/AFStringUtils.hpp:665–669  ·  view source on GitHub ↗

Returns a StringVector that contains all the substrings delimited by any of the characters in the passed delims argument. @param vec[out], the result substrings are stored here. @param delims A list of delimiter characters to split by @param max_splits The maximum number of splits to perform (0 for unlimited splits). If this parameters is > 0, the splitting process will stop after thi

Source from the content-addressed store, hash-verified

663 // @param max_splits The maximum number of splits to perform (0 for unlimited splits). If this
664 // parameters is > 0, the splitting process will stop after this many splits, left to right.
665 static void Split(std::vector<std::string>& ret, const std::string& str, const std::string& delims = "\t\n ",
666 unsigned int max_splits = 0)
667 {
668 _stringUtilSplit(ret, str, delims, max_splits);
669 }
670
671 static void Split(std::vector<std::wstring>& ret, const std::wstring& str, const std::wstring& delims = L"\t\n ",
672 unsigned int max_splits = 0)

Callers

nothing calls this directly

Calls 6

_stringUtilSplitFunction · 0.85
stringUtil_SplitFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected