We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b01fd5 commit 3037180Copy full SHA for 3037180
universal/include/userver/utils/text_light.hpp
@@ -14,12 +14,15 @@ USERVER_NAMESPACE_BEGIN
14
namespace utils::text {
15
16
/// Return trimmed copy of string.
17
+[[nodiscard]]
18
std::string Trim(const std::string& str);
19
20
/// Trim string in-place.
21
22
std::string Trim(std::string&& str);
23
24
/// Return trimmed view of a string.
25
26
std::string_view TrimView(std::string_view str);
27
28
enum class SplitFlags {
0 commit comments