[stringtemplate-interest] [java] Padding again

Terence Parr parrt at cs.usfca.edu
Wed Jun 7 10:56:54 PDT 2006


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.

Ter



More information about the stringtemplate-interest mailing list