note 76808 added to function.strtoupper
| From: | marcinhacia at gazeta dot pl | Date: | Tue, 31 Jul 2007 15:15:54 +0000 |
| Subject: | note 76808 added to function.strtoupper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129080@lists.php.net to get a copy of this message | ||
In response to strtoupper:
There is a simpler way to change the first letter of a string to uppercase:
<?php
$string='this is a much more simpler way to capitalise the first character of a string';
echo ucfirst($string); // This is a much more...
?>
----
Server IP: 195.136.184.34
Probable Submitter: 87.205.94.152
----
Manual Page -- http://www.php.net/manual/en/function.strtoupper.php
Edit -- https://master.php.net/note/edit/76808
Del: integrated -- https://master.php.net/note/delete/76808/integrated
Del: useless -- https://master.php.net/note/delete/76808/useless
Del: bad code -- https://master.php.net/note/delete/76808/bad+code
Del: spam -- https://master.php.net/note/delete/76808/spam
Del: non-english -- https://master.php.net/note/delete/76808/non-english
Del: in docs -- https://master.php.net/note/delete/76808/in+docs
Del: other reasons-- https://master.php.net/note/delete/76808
Reject -- https://master.php.net/note/reject/76808
Search -- https://master.php.net/manage/user-notes.php