mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
reverting yesterdays accitential commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46353 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d6fdce28a1
commit
beb66caa2d
1 changed files with 3 additions and 15 deletions
|
@ -3426,27 +3426,15 @@ $text = ucfirst ($text); // $text is now Mary had a little lamb
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<<<<<<< strings.xml
|
||||
<<<<<<< strings.xml
|
||||
Capitalizes the first character of each word in
|
||||
<parameter>str</parameter> 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
|
||||
<parameter>str</parameter> capitalized, if that character is
|
||||
alphabetic.
|
||||
>>>>>>> 1.77
|
||||
<example>
|
||||
<title><function>ucwords</function> example</title>
|
||||
<programlisting role="php">
|
||||
$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.
|
||||
</programlisting>
|
||||
</example>
|
||||
<note>
|
||||
|
|
Loading…
Reference in a new issue