Bug #12521: chop(), trim() enhancements
| From: | e at arix dot com | Date: | Wed, 01 Aug 2001 20:31:53 +0000 |
| Subject: | Bug #12521: chop(), trim() enhancements | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61779@lists.php.net to get a copy of this message | ||
From: e@arix.com
Operating system: Linux RH 7.1
PHP version: 4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description: chop(), trim() enhancements
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 bug report at: http://bugs.php.net/?id=12521&edit=1