What is the use of ucwords() PHP String function?
PHP ucwords() function is used to capitalized the first letter of each word in String.
<?php
echo ucwords("welcome to the php tutorials");
?>
Run : http://ideone.com/83vvyF
Learn more about the similar topics:
| Tutorials |
|---|
| No Content Found. |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| No Content Found. |