Lines Matching defs:text
29 #include "utils/text/operations.ipp"
36 namespace text = utils::text;
48 text::escape_xml(const std::string& in)
86 /// \param text The string to quote.
91 text::quote(const std::string& text, const char quote)
97 std::string::size_type last_pos = text.find(quote);
99 quoted << text.substr(start_pos, last_pos - start_pos) << '\\';
101 last_pos = text.find(quote, start_pos + 1);
103 quoted << text.substr(start_pos);
122 text::refill(const std::string& input, const std::size_t target_width)
174 text::refill_as_string(const std::string& input, const std::size_t target_width)
188 text::replace_all(const std::string& input, const std::string& search,
213 text::split(const std::string& str, const char delimiter)
240 text::to_type(const std::string& str)
258 text::to_type(const std::string& str)