std
::
core
::
string
trim_charset
fn
String
String
.
trim_charset
(
self
,
AsciiCharset
to_trim
=
ascii::
WHITESPACE_SET
)
Remove characters from the front and end of a string.
Parameters