Simply do this - #set($finalService="${serviceName}Service")

- Manish


----- Original Message ----- From: "Anagha" <[EMAIL PROTECTED]>
To: "velocity-user" <velocity-user@jakarta.apache.org>
Sent: Thursday, February 09, 2006 12:56 PM
Subject: Concatenating String in VTL


Hi,
Trying out following in the VTL :

#set($finalService=$serviceName+"Service")
$finalService

where $serviceName has some string in it.
The output is
$finalService

Is there any other way to concat string in VTL?
Any help is welcome.
--
Thanks & Regards,
Anagha



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

Reply via email to