PHP3 Manual
PrevNext

Chop

Chop -- remove trailing whitespace

Description

string chop(string str);

Returns the argument string without trailing whitespace.

Example 1. chop() example

$trimmed = Chop($line);

See also trim().


PrevHomeNext
AddSlashesUpChr