Posted On: Apr 15, 2024
PHP mb_strtolower function is used to converts uppercase character into lowercase in the string.
$str1 = "I am good "; $str1 = mb_strtolower($str1); echo $str1;
mb_strtolower function does not affect the Unicode characters also.
$str = "Τάχιστη ηξ βαφής ψημένη γη, δρασκελίζει κυνός"; $str = mb_strtolower($str, 'UTF-8'); echo $str;
Never Miss an Articles from us.
The String is a collection or set of characters in sequence in PHP. The String in PHP is used to save and manipulate like an update, delete and read the data....
The int or integer used for a variable into an integer in PHP....
The string concatenation means two strings connect together. The dot ( . ) sign used in PHP to combine two string. Example:- <?php $stringa = " creative "; $stringb = "writing "; echo $stringa ...