velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Chassande-Barrioz <sebastien.chassa...@inrialpes.fr>
Subject " character
Date Mon, 11 Mar 2002 07:19:51 GMT
hi,

I have a problem to set a variable with the " character:
#set($toto="hello")
#set($foo="\"${toto}")
$foo

renders:
\"hello

but I would like just:
"hello


The following other case occurs an error:
#set($foo=""${toto}")

I does not find in the documentation any information about escaping the 
" character in a string. How is it possible ?

regards,
Seb
-- 
Chassande-Barrioz Sebastien
INRIALPES - SIRAC/SARDES Team - ObjectWeb initiative
Mail job : sebastien.chassande@inrialpes.fr
Phone : 04.76.61.55.16


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


Mime
View raw message