velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sitaram Krishnamurthy <skris...@tibco.com>
Subject Issue with #set/replaceAll
Date Mon, 06 Sep 2004 13:01:55 GMT
Hello,

What is wrong with the following set's?  $test always returns the same value
as $try. 
Only time it works if when I remove the "$" from $def
Any help is appreciated.

Thanks
Sitaram

#set ($try = "My String is CONTAINER/test")
#set ($abc = "CONTAINER/test")
#set ($def = '$Map/test)
#set ($test = $try.replaceAll($abc,$def)
Test is $test


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message