> From: matthew perry <[EMAIL PROTECTED]>

> What PHP function returns just the first letter of a string?

echo substr($str,0,1);

or

echo $str{0};

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to