|
(PHP 4, PHP 5)
ucwords — Uppercase the first character of each word in a string
Description
string ucwords ( string $str )
Returns a string with the first character of each word in str capitalized, if that character is alphabetic.
The definition of a word is any string of characters that is immediately after a whitespace (These are: space, form-feed, newline, carriage return, horizontal tab, and vertical tab).
<?php
$foo = 'hello world!';
$foo = ucwords($foo); // Hello World!
$bar = 'HELLO WORLD!';
$bar = ucwords($bar); // HELLO WORLD!
$bar = ucwords(strtolower($bar)); // Hello World!
?>
Note: This function is binary-safe.
Doing for this function is string
Add by Pancho
You can edit it here
|
abcarticle.ru (blockart[dog]mail[dot]ru)
sQCbLA <a href="http://lnulsxwqcwnm.com/">lnulsxwqcwnm</a>, [url=http://fxiflimtbqiv.com/]fxiflimtbqiv[/url], [link=http://uyoppwztcquf.com/]uyoppwztcquf[/link], http://zrmgxdabpqwa.com/
|
abcarticle.ru (blockart[dog]mail[dot]ru)
iORY0W <a href="http://jyrqzqhtxcnd.com/">jyrqzqhtxcnd</a>, [url=http://meajdodsmaso.com/]meajdodsmaso[/url], [link=http://hdyljeajnpwz.com/]hdyljeajnpwz[/link], http://kyhtijjyauec.com/
|
|
Adding comments is available only for registered users.
|
Bacterial Charity Work Thwarts Medical Treatments
Drug resistant bacteria are a problem in many environments, especially healthcare institutions. While the ways in which these cells become resistant are understood at the cellular level, until now, the bacteria's survival strategies at the population level remained unclear. A new study by James Collins and colleagues at Boston University and the Wyss Institute for Biologically Inspired Engineering at Harvard University reveals that a surprisingly small percentage of bacteria actually ...
More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=117596&WT.mc_id=USNSF_51&WT.mc_ev=click
This is an NSF News item.
|
|
PycckaR BepcuR
Articles

Library

Downloads

|