[stringtemplate-interest] Controlling the width of a string
Russell Lear
rrlear at gmail.com
Sat Jul 21 11:45:46 PDT 2007
Hi,
I've been using string template to help produce various DB reports, easily
changing between csv, xml and simple text formats, just changing my
configuration file. Cool.
But someone asked if I couldn't make the text formatted reports "prettier",
by better aligning things, particularly numbers. Is it possible to ask that
a value occupy at least n characters? (right-justify would also be nice).
Is this not in the spirit of StringTemplate? If it isn't could someone
clear this up for me?
Thanks,
Russell.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20070721/73621640/attachment.html
More information about the stringtemplate-interest
mailing list