Re: Splitting a string

From: Date: Thu, 13 Mar 2003 15:01:30 +0000
Subject: Re: Splitting a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139514@lists.php.net to get a copy of this message
Hi, David Rice <davidrice@rogers.com> wrote: > > $str = "S12345"; > $str1 = ltrim($str,"S"); Good idea but you'd have problem if you have $str = "SS12345"; and you only want to get rid of the first one... - E __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

« previous php.general (#139514) next »