Forums / Setup & design / pad using  
James Ward
Wednesday 22 June 2005 11:28:21 am
The pad function by default pads spaces where additional characters are needed however these are standard spaces and are not rendered in a browser. Is it possible to make   the pad character?
This default of standard spaces for the pad character is pretty useless.
http://www.ez.no/ez_publish/documentation/development/libraries/ez_template/operators/string_handling
working at www.wardnet.com blogging at www.jamesward.ca
Ćukasz Serwatka
Friday 24 June 2005 6:52:36 am
Hi James,
Have you tried?
{'String'|pad( 16, ' ' )}
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Wednesday 29 June 2005 12:16:13 pm
Tried that with no success. Both with single and double quotes. It pads the actual letters. My data appears as: text&nbs text2&nb text10&n...and so on.