Skip to main content

trim_field

Function trim_field 

Source
pub fn trim_field(value: &str) -> &str
Expand description

value without leading or trailing Unicode white space or byte-order marks. str::trim keeps U+FEFF, which a paste from some apps carries, so it is not the rule.