pub fn trim<T>(s: T) -> Result<String, Error> where T: Display,
Strip leading and trailing whitespace