function chop ( str, charlist ) {
// !No description available for chop. @php.js developers: Please update the function summary text file.
//
// version: 812.1017
// discuss at: http://phpjs.org/functions/chop
// + original by: Paulo Ricardo F. Santos
// - depends on: rtrim
// * example 1: rtrim(' Kevin van Zonneveld ');
// * returns 1: ' Kevin van Zonneveld'
return rtrim(str, charlist);
}