Wrong. In the previous code, in Some(string), string was the trimmed one, now you're returning the original one.