No, I need only to get/read the string at this specific position,
because "instance" could also be "production", "test", or anything else.
I need only this substring for other proberty settings.

Stefan

> -----Original Message-----
> From: Tibor Strausz [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, July 29, 2002 12:43
> To: Ant Users List
> Subject: RE: Search a substring
> 
> what do you want to do with it??
> replace it? 
> than use replaceregexp 
> http://jakarta.apache.org/ant/manual/OptionalTasks/replaceregexp.html
> 
> tibi
> 
> > -----Original Message-----
> > From: Portmann Stefan [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, July 29, 2002 11:59 AM
> > To: [EMAIL PROTECTED]
> > Subject: Search a substring
> > 
> > 
> > I need to search for a substring in property-value (read 
> from a file), 
> > for example in
> > 
> > DB_CONNECT_INFO=jdbc:oracle:thin:@host:1521:instance
> > 
> > "instance" is the necessary substring.
> > Is it possible with Ant-tasks to search for any substrings 
> in a common
> > text-file?
> > 
> > Thanks
> > 
> > Stefan
> > 
> > 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For 
> additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to