rtrim

(PHP 3, PHP 4 )

rtrim -- Remove trailing whitespace.

Description

string rtrim (string str)

Returns the argument string without trailing whitespace, including newlines. This is an alias for chop().

Example 1. rtrim() example


$trimmed = rtrim ($line);
      

See also trim(), ltrim(), and rtrim().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека