|
(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/
|
|
Revisiting Chicxulub
For decades, scientists have accumulated ever-larger datasets that suggest an enormous space rock crashed into the ocean off the Yucatan Peninsula more than 65 million years ago, resulting in the Cretaceous-Paleogene (K-Pg) extinction. Recent research, supported in part by the National Science Foundation (NSF), suggested that the impact could have occurred 300,000 years prior to the K-Pg extinction, and that another cause--perhaps a second impact, or the long-lasting volcanic activity ...
More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=116480&WT.mc_id=USNSF_51&WT.mc_ev=click
This is an NSF News item.
|
|
PycckaR BepcuR
Articles

Library

Downloads

|