std::core::string

trim

fn String String.trim(self, String to_trim = " \n\t\r\f\v")
Remove characters from the front and end of a string.

Parameters