From beb66caa2ddbe39b5b98c97d9900c6a40cbd3b57 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Wed, 2 May 2001 14:11:06 +0000 Subject: [PATCH] reverting yesterdays accitential commit git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46353 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index db389c2b2d..7c8b5d6db7 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -3426,27 +3426,15 @@ $text = ucfirst ($text); // $text is now Mary had a little lamb -<<<<<<< strings.xml -<<<<<<< strings.xml - Capitalizes the first character of each word in - str if that character is alphabetic. A - word is defined as any sequence of non-whitespace letters (of the - current locale) immediately following a whitespace (space, - horizontal or vertical tab, linefeed or carriage return). -======= - Retuns a string with the first character of each word in -======= Returns a string with the first character of each word in ->>>>>>> 1.83 str capitalized, if that character is alphabetic. ->>>>>>> 1.77 <function>ucwords</function> example -$text = "mary had a little lamb and she loved it so."; $text = - ucwords($text); // $text is now: Mary Had A Little // Lamb And - She Loved It So. +$text = "mary had a little lamb and she loved it so."; +$text = ucwords($text); // $text is now: Mary Had A Little + // Lamb And She Loved It So.