Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

replace String from a file  RSS feed

 
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: 9406
12
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: 9406
12
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
Boost this thread!