AW: Ant String replace

2007-01-12 Thread Jan.Materne
If does not work for you, I dont see any other way without external libs ... Oh - yes:

Re: Ant String replace

2007-01-11 Thread Joe Eugene
ailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Januar 2007 03:56 >An: user@ant.apache.org >Betreff: Ant String replace > >Probably very basic question, but cant file the answer. > >I need to replace strings, not in file, just simple string. > >String x = "This is

AW: Ant String replace

2007-01-09 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Joe Eugene [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 10. Januar 2007 03:56 >An: user@ant.apache.org >Betreff: Ant String replace > >Probably very basic question, but cant file the answer. > >I need to replace string

Ant String replace

2007-01-09 Thread Joe Eugene
Probably very basic question, but cant file the answer. I need to replace strings, not in file, just simple string. String x = "This is a new String"; String y = x.replace("String", "Text"); How do you replace the strings in properties? An alternate solution to my problem would be find the La