|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1999-07-29 15:27 UTC] chrisvik at tapir dot no
$foo=ucwords("TESTING THIS LINE"); echo $foo;
gives:
TESTING THIS LINE
Should'nt it give:
Testing This Line
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 11 23:00:01 2026 UTC |
ucwords() works only on lowercase strings. To do what you want, try: $foo = ucwords(strtolower("TESTING THIS LINE"));