[Glacier] Add a StringView class and StrSplit method.

This commit is contained in:
Drew Galbraith 2023-11-02 20:23:28 -07:00
parent b6c220a350
commit a2e80952c8
8 changed files with 159 additions and 4 deletions

View 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