summaryrefslogtreecommitdiff
path: root/src/utils/string.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/string.hpp')
-rw-r--r--src/utils/string.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/string.hpp b/src/utils/string.hpp
new file mode 100644
index 0000000..cfee5b7
--- /dev/null
+++ b/src/utils/string.hpp
@@ -0,0 +1,7 @@
+#pragma once
+#include <string>
+#include <vector>
+
+namespace silly::editor::utils {
+ std::vector<std::string> split_text(const std::string &text, char delimiter);
+} \ No newline at end of file