Chop -- remove trailing whitespace
Returns the argument string without trailing whitespace.
Example 1. chop() example
$trimmed = Chop($line);