October 2005
Intermediate to advanced
372 pages
11h 35m
English
rtrim()
string rtrim ( stringstr[, stringtrim_chars] )
The rtrim() function works like the normal trim(), except it only trims whitespace from the righthand side of a string.
$string = rtrim(" testing ");
// $string is " testing"