PHP Source:
<!DOCTYPE html>
<html>
<body>

<?php
$str = "Hello World!\n\n";
echo $str;
echo chop($str);
?>


</body>
</html>
Result:
Show PHP - © www.w3ii.com