PHP uses number of integrated functions for conversion of strings. The list of string converting functions is shown below.
The string converting functions in PHP:
The ucfirst() function
The ucfirst() function is used to change the first character of a string to upper case.
Syntax for ucfirst()
ucfirst (string 'string');
Example with ucfirst() string converting function
Comments
No comments have been made yet.
Please login to leave a comment. Login now