Re: [PHP] Perl style chomp()

2007-11-01 Thread Jim Lucas
mike wrote: On 11/1/07, Jim Lucas <[EMAIL PROTECTED]> 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

Re: [PHP] Perl style chomp()

2007-11-01 Thread mike
On 11/1/07, Jim Lucas <[EMAIL PROTECTED]> 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()

[PHP] Perl style chomp()

2007-11-01 Thread Jim Lucas
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. A person gave an explanation of what the chomp() function did. So, I took it upon myself to try