ID: 12521 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Feature/Change Request Operating System: Linux RH 7.1 PHP Version: 4.0.4pl1 Old Assigned To: Assigned To: jeroen New Comment: Good idea. The second parameter should IMO be a string containing all characters to be chopped, or like addcslashes. Assigning to myself, if anyone has any objections/remarks, please mail me. I think the c-slashes way is the best. Previous Comments: ------------------------------------------------------------------------ [2001-08-01 16:31:53] [EMAIL PROTECTED] it would be useful if the chop() and trim() functions accepted an optional second parameter indicating what to chop or trim, instead of simply assuming one wants to remove whitespace. In Perl the $/ varialbe controls what is chopped, but a parameter would be nicer! ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12521&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]