summaryrefslogtreecommitdiff
path: root/src/utils/string.hpp
blob: 9ec766cbed8d14014074a7f8ef84142cc29e57c3 (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once
#include <string>
#include <vector>

namespace silly::editor::utils {
  std::vector<std::string> split_text(const std::string &text, char delimiter);
  void ltrim(std::string &s);
  void rtrim(std::string &s);
  void trim(std::string &s);
}