What's the output of the ucwords function in this example?
Answer / Tripuresh Misra
The ucwords() function converts the first character of each word to uppercase. If we use it on a string like 'hello world', the output will be 'Hello World'. Note that 'world' is considered as a single word since words are separated by spaces.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is php static function?
Does exist in php?
How to create a session? How to set a value in session?
What is cookie and session in php?
HOW we can use css
How is it possible to return a value from a function?
Is php 5.6 secure?
What is PHP?
How can a cross-site scripting attack be prevented by php?
What are magic constants in php?
What is preg_match?
Tell me how to find the length of a string?