RE: Extract property out of multiline file

2004-12-09 Thread Rebhan, Gilbert
- From: Erskine, Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 3:03 PM To: Ant Users List Subject: RE: Extract property out of multiline file Since you already have the , in the line, you do not want to replace the line.separator with a new comma. Change the replace to replace=

RE: Extract property out of multiline file

2004-12-08 Thread Erskine, Chris
t [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 6:47 AM > To: Ant Users List > Subject: RE: Extract property out of multiline file > > > Hi, thanks for the tip, nearly perfect. > > With > > Env1, > Env2, > > and > fl

AW: Extract property out of multiline file

2004-12-08 Thread Jan . Materne
Sorry, havent seen the comma after each line. Simply use replace="". Jan > -Ursprüngliche Nachricht- > Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 8. Dezember 2004 14:47 > An: Ant Users List > Betreff: RE: Extract property out of

RE: Extract property out of multiline file

2004-12-08 Thread Rebhan, Gilbert
Any hints ? Regards, Gilbert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 2:31 PM To: [EMAIL PROTECTED] Subject: AW: Extract property out of multiline file Just a thought ... Jan > -Ur

AW: Extract property out of multiline file

2004-12-08 Thread Jan . Materne
Just a thought ... Jan > -Ursprüngliche Nachricht- > Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 8. Dezember 2004 14:21 > An: ant_user (E-Mail) > Betreff: Extract property out of multiline file > > &

Extract property out of multiline file

2004-12-08 Thread Rebhan, Gilbert
Hi, i have a txtfile generated by a script. The file looks like that : Env1, Env2, Env3, sometimes there's only one value in that file, sometimes more, like above. I want to stript the ',' and get that Env's into one property : myproperty = "Env1,Env2,Env3" How to do that without scripting ?