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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to