on 7/27/01 3:46 PM, Jerry Lake at [EMAIL PROTECTED] wrote:

> for the life of me I can't remember
> how to convert a string to just the first
> letter of itself i.e. $string = test
> ...a function
> $string_first = t
> 

$word = substr($word,0,1);

 -- mike cullerton



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to