Re: Perl style chomp()

From: Date: Thu, 01 Nov 2007 17:45:54 +0000
Subject: Re: Perl style chomp()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263940@lists.php.net to get a copy of this message
On 11/1/07, Jim Lucas <lists@cmsws.com> wrote: > I noticed, while perusing the chop() manual page, that some people were giving examples of > Perl's > chop() and chomp() functions. Comments made about both said the examples were good, but not > correct. what about trim(), rtrim() and ltrim() ? seems unnecessary to reinvent the wheel. if you want an array one, just make it recurse like you did. - mike

« previous php.general (#263940) next »