perl to php
ph34r my perl-to-php skills...
<Narada> What's the equivalent of perl chop() in php to remove last character of string?
<xinu> Narada: rtrim()
<Narada> xinu: No that's for spaces only.
<xinu> Narada: i beg to differ
<Narada> xinu: Wow you're right. Thanks.
<xinu> Narada: welcome
Edit: It looks like I led this poor boy astray and tossed him a whitespace killer instead of the perl equivalent he requested. /me hangs head in shame.
<Narada> What's the equivalent of perl chop() in php to remove last character of string?
<xinu> Narada: rtrim()
<Narada> xinu: No that's for spaces only.
<xinu> Narada: i beg to differ
<Narada> xinu: Wow you're right. Thanks.
<xinu> Narada: welcome
Edit: It looks like I led this poor boy astray and tossed him a whitespace killer instead of the perl equivalent he requested. /me hangs head in shame.
