Rename removeDirtyChars to String/removeDirtyChars