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 turn a string into an array?How do I remove trailing whitespace?
How do I make the first letter of a string uppercase?
What is the difference between join and implode in PHP?
How do we count paragraphs or newlines?
