<html>
<p>
<?php
// Get a partial string from within your own name
// and print it to the screen!
$myname = "daRin";
$partial = substr($myname,0,3);
print $partial;
?>
</p>
<p>
<?php
// Make your name upper case and print it to the screen:
$uppercase = strtoupper($myname);
print $uppercase;
?>
</p>
<p>
<?php
// Make your name lower case and print it to the screen:
$lowercase = strtolower($myname);
print $lowercase;
?>
</p>
</html>In this Code snippet, we will learn how to use partial string, upper case, lower case in PHP.
