Velocity Engine dynamic spaces between generated text

Viewed 9

I`m getting from the template some strings that are different in length.Is there any way to generate the text i need with dynamically generated whitespaces?

{ a, b, c,                d , e , f}
{ a, b, cd,               d , e , f}
{ a, b, cf,               d , e , f}
{ a, b, cggggg,           d , e , f}
{ a, b, c,                d , e , f}
{ a, b, c,                d , e , f}
{ a, b, c,                d , e , f}

Something like this i want it to be..everything alligned, but i have no clue how shall i set the dynamic whitespaces between my strings

0 Answers
Related