pub fn trim_field(value: &str) -> &str
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.
value
str::trim