Monday, 20 August 2012

How to remove white space on the left of a strin ?

You can use ltrim() function to remove white symbols at begining of a string, as example shows:$leftTrimmed = ltrim( $oldText );

No comments:

Post a Comment