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.
⇒ Converting Leading Characters to Upper Case in PHP
⇐ Reformatting a Paragraph of Text in PHP
2016-10-13, 1745🔥, 0💬
Popular Posts:
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator"...
Where to find tutorials on JSON (JavaScript Object Notation) text string format? I want to know how ...
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JS...
How to search for the first match of a regular expression using re.search()? The re.search() functio...
Where to get a JSON.stringify() Example Code in JavaScript? Here is a good JSON.stringify() example ...