note 90948 added to function.chop
| From: | rahuls8730 at gmail dot com | Date: | Mon, 18 May 2009 06:03:04 +0000 |
| Subject: | note 90948 added to function.chop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-155660@lists.php.net to get a copy of this message | ||
Definition and Usage
The chop() function will remove a white space or other predefined character from the right end of a
string.
This function is an alias of the rtrim() function.
Syntax
chop(string,charlist)
Parameter Description
string Required. Specifies the string to check
charlist Optional. Specifies which characters to remove from the string.
The following characters are allowed and is set to be removed if the charlist parameter is empty:
* "\0" - ASCII 0, NULL
* "\t" - ASCII 9, a tab
* "\n" - ASCII 10, a new line
* "\x0B" - ASCII 11, a vertical tab.
* "\r" - ASCII 13, a carriage return
* " " - ASCII 32, an ordinary white space
----
Server IP: 64.71.164.2
Probable Submitter: 122.163.32.116
----
Manual Page -- http://www.php.net/manual/en/function.chop.php
Edit -- https://master.php.net/note/edit/90948
Del: integrated -- https://master.php.net/note/delete/90948/integrated
Del: useless -- https://master.php.net/note/delete/90948/useless
Del: bad code -- https://master.php.net/note/delete/90948/bad+code
Del: spam -- https://master.php.net/note/delete/90948/spam
Del: non-english -- https://master.php.net/note/delete/90948/non-english
Del: in docs -- https://master.php.net/note/delete/90948/in+docs
Del: other reasons-- https://master.php.net/note/delete/90948
Reject -- https://master.php.net/note/reject/90948
Search -- https://master.php.net/manage/user-notes.php