Program 1
<html>
<head><title>String in PHP Application</title>
<body>
<pre>
<center>
<?php
$mystr="Data Flair PHP Course ";
$mystr1="Free Course";
$mystr=chop($mystr);
echo $mystr;
echo $mystr1;
//trim()
//ltrim()
// rtrim()
//chop()
?>
</pre>
</center>
</body>
</html>