ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <Tibor.Stra...@tridion.com>
Subject RE: Search a substring
Date Mon, 29 Jul 2002 10:42:34 GMT
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:Stefan.Portmann@bison-group.com]
> Sent: Monday, July 29, 2002 11:59 AM
> To: ant-user@jakarta.apache.org
> 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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message