• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

replace String from a file

 
Anas El-Abboud
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Friends ,
how can i do a function replace a String with another String from a file
something like this :

public FileWriter strngRplc(FileReader fr,String str1,String str2){
FileWriter fr ;
.....
.....
return fw ;
}


thanks..
 
Joe Ess
Bartender
Posts: 9297
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a pretty common question in this forum. I like Stan's answer in this topic.
 
srinu rao
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is temporary servlet?
what are the uses of a temporary servlet?
 
Joe Ess
Bartender
Posts: 9297
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Srinu found his way to the correct forum on his own.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic