Hi,

David Rice <[EMAIL PROTECTED]> 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/


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

Reply via email to