Strip string representation of name