[Glacier] Add a StringView class and StrSplit method.
This commit is contained in:
parent
b6c220a350
commit
a2e80952c8
8 changed files with 159 additions and 4 deletions
11
lib/glacier/string/str_split.h
Normal file
11
lib/glacier/string/str_split.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include "glacier/container/vector.h"
|
||||
#include "glacier/string/string_view.h"
|
||||
|
||||
namespace glcr {
|
||||
|
||||
// TODO: Add a split that uses a StringView as a delimeter.
|
||||
Vector<StringView> StrSplit(const StringView& str, char delimeter);
|
||||
|
||||
} // namespace glcr
|
||||
Loading…
Add table
Add a link
Reference in a new issue