RE: [PHP] Leading zeroes

From: Date: Thu, 23 May 2002 18:14:52 +0000
Subject: RE: [PHP] Leading zeroes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98967@lists.php.net to get a copy of this message
> I'm a newbie, but maybe this'll do it: > if ($str!='0') > { > $str = ltrim($str, '0') > } Duh. Sometimes I amaze myself at how stupid I can be. Thanks. :) __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com

« previous php.general (#98967) next »