Remove an existing case from a string.