: [PHP] getting info.. help!
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"
No matter how many spaces in
> 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://w
trim()
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
Is there a way to remove all the spaces in
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"
No matter how many spaces in the begging in I just want it to delete the
first spaces.
I hope you
4 matches
Mail list logo