trim

Function trim 

Source
pub fn trim(s: &str) -> &str
Expand description

Trim whitespace from the beginning and end of a string

§Arguments

  • s - The string to trim

§Returns

The trimmed string