How do I make the contents of a string upper case?
Here's the function in action:
<?php
$mystring = "can anybody hear me?";
echo strtoupper($mystring);
?>
Prints: CAN ANYBODY HEAR ME?
Comment on this Question and Answer >>>
ASK A QUESTION
More strings PHP Questions
How do I find the position of a letter in a string in PHP?How do I find the length of a string in PHP?
how to compare strings in PHP?
How do I count the number of words in my text?
How do I make the first letter of a string uppercase?
