velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Literal newline?
Date Sat, 12 Oct 2002 02:47:04 GMT
On 10/11/02 10:33 AM, "Kent Johnson" <kejohnson@skillsoft.com> wrote:

> Is there any way to include a literal newline (or other \ escapes) in
> a string? For example
> 
> #set ($myVar = "$myVar\r\n")
> 

No - currently there is no escape interpolation (which is what \r boils down
to...

The best thing to do right now is add a tool into the context that produces
the needed char sequences.

-- 
Geir Magnusson Jr. 
geirm@adeptra.com                                    +1-203-355-2219 (w)
Adeptra Inc.                                         +1-203-247-1713 (m)



--
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