Q:

Representing string of length 4 in 8 character length

I am working with freemarker and i have value variable that holds string of variable length but less than 8.
What i want to print it in 8 character spaces only.
i.e   
${value}

should be spanned over 8 spaces.

A:

Sounds like you want either ${value?right_pad(8)} or ${value?left_pad(8)}.

