> Hello,
> 
> Is there a way to remove all the spaces in the beginning of a string?
> 
> Example:
> 
> "   45 fasfda asdfasf"  would be "45 fasfda asdfasf"
> 
> and
> 
> " 45 fasfda asdfasf" would be "45 fasfda asdfasf"
> 

look at http://www.php.net/manual/en/function.ltrim.php
or maybe 
http://www.php.net/manual/en/function.trim.php
--
Henrik Hansen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to