[stringtemplate-interest] [java] Padding again - <fill()> builtin

Zenaan Harkness zen at freedbms.net
Sat Dec 15 17:41:13 PST 2007


On Tue, Jun 06, 2006 at 11:56:54PM +0000, Terence Parr wrote:
> 
> On Jun 7, 2006, at 12:17 AM, Anton Tagunov wrote:
> 
> > Hello
> >
> > multivalued attribute, need to pad each value with spaces
> > so that all become equal length on output.
> >
> > Where to do this: on java or ST side?
> 
> For now, you'd have to do on the Java side.
> 
> We could use a <fill()> built-in function that would fill until the  
> end of line.

Is anyone of a level of competency, and with a little time, to have a
crack at a fill() builtin for ST?

TIA
Zen

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


More information about the stringtemplate-interest mailing list