Sets the characters to exclude for the identifier.
str Characters to exclude, each separated by a comma.
eOk if successful or eInvalidInput if incorrect format or invalid characters.