mrdocs::trim

Return the substring without leading and trailing horizontal whitespace.

Synopsis

constexpr
std::string_view
trim(std::string_view const s) noexcept;

Return Value

The modified string.

Parameters

Name

Description

s

The string to trim.

Created with MrDocs