I want to replace all the characters in a Java String with *
character. So it shouldn't matter what character it is, it should be replaced with a *
.
I know there are heaps of examples there on internet but have not one that replaces every character and I have tried myself but no success.
See Question&Answers more detail:os