I need replace multiple (sub)Strings/ place holders in a (large)String with values in a single call. How to go about it? What is the best way? Is there anything available in java? I can use jdk1.4.2 only.
I have tried using java.text.MessageFormat but it accepts a max of 10 place holders only where my requirement is for more than 10 place holders. Any way in which to overcome this limitation? do you think reg-ex can help? thanks in advance.