Posted by Chris on 01/08/06 21:31
Ross wrote: >Is there a PHP function to strip the leading zeros from a number/string. > >R. > > > You can use ltrim() $sString = '0043680450'; $sString = ltrim($sString,'0'); http://www.php.net/ltrim
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming