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, ∼2088🔥, 0💬
Popular Posts:
How to use "xml-to-json" Azure API Policy Statement? The "xml-to-json" Policy Statement allows you t...
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Man...
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are ne...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...