Hello Christopher Deeley, Best regards, ======= At 2007-01-21, 21:49:06 you wrote: ======= >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? $forename[0].' '.$surname > >Thank You In Advance > just like an array = = = = = = = = = = = = = = = = = = = = Nicholas Yim nick.yim@xxxxxxxxxx 2007-01-21 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php