Tools, FAQ, Tutorials:
Converting Strings to Upper/Lower Case in PHP
How To Convert Strings to Upper or Lower Cases?
✍: FYIcenter.com
Converting strings to upper or lower cases are easy. Just use strtoupper() or strtolower() functions. Here is a PHP script on how to use them:
<?php $string = "PHP string functions are easy to use."; $lower = strtolower($string); $upper = strtoupper($string); print("$lower\n"); print("$upper\n"); print("\n"); ?>
This script will print:
php string functions are easy to use. PHP STRING FUNCTIONS ARE EASY TO USE.
2016-10-13, 818👍, 0💬
Popular Posts:
Where to find tutorials on introduction of EPUB 2.0.1 Specification? Here is a list of tutorials to ...
What Is session_register() in PHP? session_register() is old function that registers global variable...
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator"...
Can You Specify the "new line" Character in Single-Quoted Strings? You can not specify the "new line...
What is Azure API Management Publisher Dashboard? Azure API Management Publisher Dashboard is an Azu...