einsums::string_util::trim_copy#

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

Defined in header Einsums/StringUtil/Trim.hpp.

std::string trim_copy(std::string s)#

Trim whitespace from the start and end of the string.

Added in version 1.0.0.

Parameters:

s – The string to trim.

Returns:

The string without leading or trailing whitespace.