note 36985 deleted from function.chop by vincent
| From: | vincent@php.net | Date: | Wed, 29 Oct 2003 19:16:21 +0000 |
| Subject: | note 36985 deleted from function.chop by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59492@lists.php.net to get a copy of this message | ||
Note Submitter: juan
----
In perl "chop" removes the last character of a string, and
"chomp" removes the last character only if it's a new line.