trim

Function trim 

Source
pub fn trim(text: string) -> string
Expand description

Trim string.

Return string with leading and trailing whitespace removed. Whitespace is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.