Help with simple string handling
| From: | Mujahid Wazir | Date: | Fri, 29 Dec 2000 12:27:38 +0000 |
| Subject: | Help with simple string handling | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4751@lists.php.net to get a copy of this message | ||
Is there any equalent of RIGHT() OR LEFT() Functions in PHP ?
For example
$sVar="This is an example" ;
I want $sVar2 to have the first 10 characters from $sVar such that
$sVar2 = "This is an" ;
Thanks
-Mujahid