InterviewSolution
| 1. |
How To Convert The First Character To Upper Case? |
|
Answer» If you are processing an ARTICLE, you may WANT to capitalize the first CHARACTER of a SENTENCE by using the ucfirst() FUNCTION. You may also want to capitalize the first character of every words for the article title by using the ucwords() function. Here is a PHP script on how to use ucfirst() and ucwords(): If you are processing an article, you may want to capitalize the first character of a sentence by using the ucfirst() function. You may also want to capitalize the first character of every words for the article title by using the ucwords() function. Here is a PHP script on how to use ucfirst() and ucwords(): |
|