Forums / General / Left padding with zeros

Left padding with zeros

Author Message

Tristan Koen

Thursday 13 November 2003 3:49:29 am

Hi

Can anyone give me a suggestion on how to LEFT pad a string with zeros. I had a look at the pad() operator but it only seems to do right padding.

I would like to avoid writing a new operator, so any other suggestions would be appreciated.

Thanks