Hi,
I am trying to figure out how to do this
I have these properties in my property file
For example
Message1 = My First Name is &1 and my Last Name is &2
Message2 = &1 I live in &3
&1= John
&2=Font
&3= Florida
In my
java code I read these properties from file
String message1 = My First Name is &1 and my Last Name is &2
I want to replace the ampersands with &1 and &2 in the message
The above message will look like-- My First Name is John and my Last Name is Font
And if I read message2 the Message will be John lives in Florida
How do I do that?
Thanks
Ajoo