View Single Post
  #1 (permalink)  
Old 07-16-2007, 06:02 PM
paul paul is offline
Member
 
Join Date: Jul 2007
Posts: 26
paul is on a distinguished road
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
Reply With Quote
Sponsored Links