phpCopy<?php $mystring = "This is a PHP program."; echo("This is the string before removal: $mystring "); $newstring = rtrim($mystring, ". "); echo("This is the string after removal: $newstring"); ?>