Horizon
Loading...
Searching...
No Matches
str_util.hpp
1#pragma once
2#include <string>
3
4namespace horizon {
5void ltrim(std::string &s);
6void rtrim(std::string &s);
7void trim(std::string &s);
8std::string ltrim_copy(std::string s);
9std::string rtrim_copy(std::string s);
10} // namespace horizon
std::string trim(std::string const &str)
Returns a new string without whitespace at the start/end.
Definition catch_amalgamated.cpp:5674