[stringtemplate-interest] Variables in Template Parameters

Zenaan Harkness zen at freedbms.net
Mon Nov 9 15:15:10 PST 2009


On Mon, Nov 09, 2009 at 03:14:51PM -0600, Brain, Jim wrote:
> Is there a way to allow $getter$, which is passed "get$name$()" to expand $name$ to "Name"?

$("get" + name)$
$object.("get" + name)$

Ter, just have to mention again - ST rocks!

best
zen

-- 
Free Australia: www.UPMART.org
Please respect the confidentiality of this email as sensibly warranted.


More information about the stringtemplate-interest mailing list