Hi Firdaus - You can do this: #set($us = "_") UD$us$name
Steve Best Regards, Steve -----Original Message----- From: FIRDAUS FRAZ [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 10:03 AM To: velocity-user@jakarta.apache.org Subject: String concatination-pls reply urgently Hi, I was trying to concatenate "-"(underscore) and a 'reference' in my velocity template. I was unable to do so. Pls let me know if it is possible to get the output as "UD_JAVED" if i have to get the word 'JAVED' from java code: i tried "UD_$name". But this does not work. template output UD_$name UD_$name UD_($name UD_(JAVED Regards Firdaus Fraz Software Engineer, Outworx Soln. Pvt. Ltd. -- This message has been scanned for viruses and dangerous content and is believed to be clean. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]