removeChars method added to WString class