Function Jet::Utilities::SplitStringOnDelimiter¶
Defined in File Utilities.hpp
Function Documentation¶
-
inline void
Jet::Utilities
::
SplitStringOnDelimiter
(std::string &s, const std::string &delimiter, std::vector<std::string> &tokens)¶ Splits
s
(at most once) on the given delimiter and stores the result in the provided vector. If an instance of the delimiter is found, the contents ofs
up to (and including) the first occurrence of the delimiter are erased.- Parameters
s – String to be split.
delimiter – Delimeter separating each part of the split string.
tokens – Vector to store the result of the split.
api/function_Utilities_8hpp_1a3411db42556f535dadbea09ec211ae25
Download Python script
Download Notebook
View on GitHub