Converting Case : strtoupper « String « PHP






Converting Case

 
<?php
$membership = "mz00xyz";
$membership = strtoupper( $membership );
print "$membership<P>"; // prints "MZ00XYZ"
?>
  
  








Related examples in the same category

1.Changing case of strings
2.string strtoupper ( string str ) returns that string entirely in uppercase characters.
3.strtoupper(): Convert a string to uppercase
4.strtoupper.php
5.Modifying capitalize( ) to take a reference parameter
6.Using the word case functions