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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.