strtoupper() to change lower to uppercase characters

$val=strtoupper($input_sting);
We can use strtoupper() function in PHP to change all the alphabetic characters to uppercase. This simple function takes one string as input and changes the characters present inside to uppercase. Here is an example code.
$my_str="Hello welcome to plus2net.com";
$my_str=strtoupper($my_str);
echo $my_str;
Above code output will be
HELLO WELCOME TO PLUS2NET.COM

DEMO

Output :


Your Rating





PHP String Functions

Post your comments , suggestion , error , requirements etc here .




HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2019 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer