At 11:33 AM -0700 6/13/06, sam wrote:
>Wow this is hard I can't wait till I get the hang of it.
>
>Capitalize the first letter of a word.

Try:

<?php
$word = "yikes";
$word[0]=strtoupper($word[0]);
echo($word);
?>

tedd
-- 
------------------------------------------------------------------------------------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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

Reply via email to