If it is simple as replacing each '?' with an empty string then there is no need for replaceAll(), just use
Edit : Thinking about this, it looks to me like the OP has parsed an XML file using the wrong character encoding and now need to get rid of the resulting '?' that are created when the encoder does not recognise some bytes as characters.
Retired horse trader.
Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
posted 5 years ago
Thanks a lot. It works for me.
today's feeble attempt to support the empire
the new thread boost feature: great for the advertiser and smooth for the coderanch user