This should be using `stringByTrimmingCharactersInSet:`, too. Then, I think this can be merged.