On 7/9/01 10:25 AM, "Jonathan Jackson" <[EMAIL PROTECTED]>
wrote:

> Is there any way to concatenate two strings into one in a
> velocity template? For example, how would I do something
> like the following:
> 
> #set($str1 = "one")
> #set($str2 = $str1+" "+$str2)

${str1}${str2}

> 
> This example isn't useful in and of itself, but it shows the
> sort of thing I'd like to be able to do. Anybody know how to
> do this, or even if it's possible?
> 
> -Jonathan Jackson
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



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

Reply via email to