[Base] Add opt arg to allow empty parts in split.
[Base] Add optional argument to allow empty parts in utf8::split.
This commit is contained in:
@@ -27,7 +27,8 @@ size_t hash_fnv1a_case(const std::string_view view);
|
||||
|
||||
// Splits the given string on any delimiters and returns all parts.
|
||||
std::vector<std::string_view> split(const std::string_view path,
|
||||
const std::string_view delimiters);
|
||||
const std::string_view delimiters,
|
||||
bool remove_empty = false);
|
||||
|
||||
bool equal_z(const std::string_view left, const std::string_view right);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user