note 48840 added to function.ucwords
| From: | webmaster at elcurriculum dot com | Date: | Sat, 08 Jan 2005 19:56:44 +0000 |
| Subject: | note 48840 added to function.ucwords | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82960@lists.php.net to get a copy of this message | ||
This function return a format of text.
//Retornar Texto con la primera letra en mayusculas...
function GetMayuscular ($vTxt) {
return ucwords(strtolower($vTxt));
}
Example:
echo GetMayuscular("THIS IS A TEXT");
Return:
This is a text
More:
http://php.elcurriculum.com
http://tryke.elcurriculum.com
----
Manual Page -- http://www.php.net/manual/en/function.ucwords.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48840
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48840&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48840&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48840&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48840&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48840&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48840&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48840&report=yes
Search -- http://master.php.net/manage/user-notes.php