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, ∼2943🔥, 0💬
Popular Posts:
Where to find EPUB Sample Files? Here is a list of EPUB sample files collected by FYIcenter.com team...
Where to get a real Atom XML example? You can follow this tutorial to get a real Atom XML example: 1...
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to...
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How to use the "send-one-way-request" Policy statement to call an extra web service for an Azure API...