From 58fdbd8edfbb85a06c6c4bc0edafa46faf0709ef Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 2 Feb 2025 23:00:25 +0500 Subject: feat: trim utils --- src/utils/string.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils/string.hpp') diff --git a/src/utils/string.hpp b/src/utils/string.hpp index cfee5b7..9ec766c 100644 --- a/src/utils/string.hpp +++ b/src/utils/string.hpp @@ -4,4 +4,7 @@ namespace silly::editor::utils { std::vector split_text(const std::string &text, char delimiter); + void ltrim(std::string &s); + void rtrim(std::string &s); + void trim(std::string &s); } \ No newline at end of file -- cgit v1.2.3