First Character In A String
| From: | Christopher Deeley | Date: | Sun, 21 Jan 2007 13:44:04 +0000 |
| Subject: | First Character In A String | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-247501@lists.php.net to get a copy of this message | ||
Can anyone tell me if there is a function to return the first letter in a
string, such as:
$surname="SMITH";
$forename="ALAN";
Is there a function which I can use to make $forename "A", so I can display
it as A SMITH?
Thank You In Advance