velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Heyl <>
Subject Re: Just a small issue...
Date Fri, 04 Jun 2004 07:10:05 GMT
Vijay Bala wrote:

>Well my issue is I do need to have the "getter" to be
>named as "getFirstName()" instead of getfirstName.
>Please explain me how to achive getting the first
>letter Capital on the method name.(like
Remember, a String is a String is a java.lang.String ...

#set ($first = "$s.charAt(0)") $first.toUpperCase()$s.substring(1)

and BTW: s is a String.

>Thanks in advance.


  Carsten Heyl				
  Pixelboxx GmbH

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message