note 112078 added to function.ucwords
| From: | Anonymous | Date: | Tue, 30 Apr 2013 14:43:51 +0000 |
| Subject: | note 112078 added to function.ucwords | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194669@lists.php.net to get a copy of this message | ||
UTF-8 Title Case that works for me even with hyphens involved!
$str = 'ÄaaÄaa-AAAaaa, BBbb';
$str = mb_convert_case($str, MB_CASE_TITLE, "UTF-8");
echo($str): 'ÄaaÄaa-Aaaaaa, Bbbb'
----
Server IP: 69.147.83.199
Probable Submitter: 212.92.206.19
----
Manual Page -- http://php.net/manual/en/function.ucwords.php
Edit -- https://master.php.net/note/edit/112078
Del: integrated -- https://master.php.net/note/delete/112078/integrated
Del: useless -- https://master.php.net/note/delete/112078/useless
Del: bad code -- https://master.php.net/note/delete/112078/bad+code
Del: spam -- https://master.php.net/note/delete/112078/spam
Del: non-english -- https://master.php.net/note/delete/112078/non-english
Del: in docs -- https://master.php.net/note/delete/112078/in+docs
Del: other reasons-- https://master.php.net/note/delete/112078
Reject -- https://master.php.net/note/reject/112078
Search -- https://master.php.net/manage/user-notes.php