velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Lim" <edward_...@bankwest.com.au>
Subject Is there a way for me to change the case of the output value?
Date Wed, 11 Jun 2003 08:34:17 GMT
Hi,

As per the subject line, I am wondering if there is a way to change the case of the ouput
value, eg.

#set ($Name = "Ben")

The name (in lowercase) is $name.
The name (in uppercase) is $NAME
The name (in Pascal case) is $Name
The name (in Camal case) is $aNme

output:
The name (in lowercase) is ben.
The name (in uppercase) is BEN
The name (in Pascal case) is Ben
The name (in Camal case) is bEn

cheers,
&   Edward Lim
       Senior IT Specialist
H   IT Project Delivery Department
   Bank of Western Australia
       Level 6, 148 Adelaide Terrace
       East Perth, WA 6004
(   (08) 9449 8917
ý    URL: http://www.bankwest.com.au
*   edward_lim@bankwest.com.au



_______________________________________________________________________________
Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.

This electronic transmission is intended only for those to whom it is
addressed. It may contain information that is confidential, privileged
or exempt from disclosure by law.  Any claim to privilege is not waived
or lost by reason of mistaken transmission of this information.
If you are not the intended recipient you must not distribute or copy this
transmission and should please notify the sender.  Your costs for doing
this will be reimbursed by the sender.
_______________________________________________________________________________


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message