|
Using a replace method...
Hi, I am writing a java code and I need help with replacing the word I am starting off with into asterisks without using a while method.
So for example:
enter a word -> hello
**
So how can I go from "hello" to "**" using a replace method? Thanks
|