From d7b3911ad879cc85a12e3e4979fc8d8f4b526960 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 2 Feb 2025 22:36:45 +0500 Subject: feat: util for splitting text --- src/utils/string.hpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/utils/string.hpp (limited to 'src/utils/string.hpp') 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 +#include + +namespace silly::editor::utils { + std::vector split_text(const std::string &text, char delimiter); +} \ No newline at end of file -- cgit v1.2.3