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, ∼2042🔥, 0💬
Popular Posts:
How to login to the Developer Portal internally by you as the publisher? Normally, the Developer Por...
How to Install Docker Desktop 2.5.0 on Windows 10? You can follow this tutorial to Install Docker De...
How to use the "set-backend-service" Policy Statement for an Azure API service operation? The "set-b...
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
How to run CMD Commands in Dockerfile to change Windows Docker images? When building a new Windows i...