Return the substring without leading and trailing horizontal whitespace.
<mrdocs/Support/String.hpp>
void
replace(
std::string& s,
std::string_view from,
std::string_view to);
| Name | Description |
|---|---|
| s | The string to trim. |
| from | The substring to remove. |
| to | The substring to replace with. If this is empty, the substring is removed. |