Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forgot the class name....

 
vivien siu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I remmeber there's a class to replace certain values defined in a text file. Usually the text file is written like this:"

.....hsghdhagds {0} ghasdgashdg {1} ......... {2}"

where the class basically replaces all the {0}, {1}, {2} with other values.

I need this urgently, does anyone knows what class is used to do this?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm. It could be java.text.MessageFormat possibly?
 
vivien siu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is! Thanks Paul!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic