Change String case to Upper : String Case « String « PHP






Change String case to Upper

<?
$mixed_case_word = "Lower Case and Upper Case";
$lowercase = strtoupper($mixed_case_word);
print($lowercase);
?>

           
       








Related examples in the same category

1.ucwords() function capitalizes the first letter of each word in a string
2.Change String case to lower
3.Initial-capping words is a very common task
4.Trimming Strings: chop