[stringtemplate-interest] String manipulations

Terence Parr parrt at cs.usfca.edu
Mon Aug 28 17:50:49 PDT 2006


On Aug 28, 2006, at 9:07 AM, Emond Papegaaij wrote:

> Hello,
>
> First of all: StringTemplate really rocks! It's clean, easy to use and
> really powerful!
>
> There is however a single problem I keep facing. In many places I  
> have to
> generate get- and set-methods for properties. For example the
> property 'value' will get the methods 'getValue' and 'setValue'.  
> Right now
> I'm passing both the lower case 'value' and the upper case 'Value' to
> these templates, but this is rather cumbersome. Is there any way to
> perform simple string transformations with StringTemplate? That would
> greatly simplify most of my templates.

Hi.  Is this C#?

Ter



More information about the stringtemplate-interest mailing list