Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

TRIM in PHP

<?php

$str = "Hello World!    ";

echo "Without rtrim: " . $str;

echo "<br />";

echo "With rtrim: " . rtrim($str);

?>