• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to modify a .txt file in java  RSS feed

 
Nancy Zhang
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to implement the following 4 steps in java:

step1. read a .txt file
step2. find all >= in the file
step3. add a string, say '@here', before each >=
step4. save the modified .txt as a new file

Great thanks!

---BTW, this post also try my new displayed name.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EDIT: Moved my response to the duplicate post that already had responses.
[ January 16, 2005: Message edited by: marc weber ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!