Online PHP rtrim() function


Strip whitespace (or other characters) from the end of a string.
This function returns a string with whitespace (or other characters) stripped from the end of str.
string rtrim ( string $str [, string $character_mask ] )
<?php
Hello World!