Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php mb_convert_case


<?php
$str = "mary had a Little lamb and she loved it so";
$str = mb_convert_case($str, MB_CASE_UPPER, "UTF-8");
echo $str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
$str = mb_convert_case($str, MB_CASE_TITLE, "UTF-8");
echo $str; // Prints Mary Had A Little Lamb And She Loved It So
?>

Comment

PREVIOUS NEXT
Code Example
Php :: bindings laravel 
Php :: laravel check if session variable exists 
Php :: php trim array to certain length 
Php :: php get all values from associative array 
Php :: php array formatted output 
Php :: how to take input in php 
Php :: php format int to 9 digits with preceding zeroes 
Php :: create session in php 
Php :: load php in html 
Php :: Use debug bar - Laravel 
Php :: wp-config.php repair 
Php :: delete in wordpress query 
Php :: php ini_set timeout 
Php :: minuscule chaine php 
Php :: form submitting twice 
Php :: upppercase php 
Php :: share link in facebook php 
Php :: php date fomat 
Php :: php nan 
Php :: Too Many Attempts. laravel error 
Php :: diff for seconds laravel carbon 
Php :: get field acf 
Php :: delete all rows in table laravel 
Php :: codeigniter 4 redirect to home 
Php :: clear cache via route laravel 
Php :: get today datetime in php 
Php :: php array remove value if exists 
Php :: strtoupper 
Php :: How to install a specific version of package using Composer? 
Php :: lumen generate app key 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =