Re: How to remove only the last character?
| From: | Douglas Douglas | Date: | Sat, 08 Feb 2003 13:42:40 +0000 |
| Subject: | Re: How to remove only the last character? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134869@lists.php.net to get a copy of this message | ||
I want to thank you Ian, Zydox and Nicos.
After Zydox response I checked the manual again and
read this part in the substr function:
"If length is given and is negative, then that many
characters will be omitted from the end of string
(after the start position has been calculated when a
start is negative)...."
Sorry to bother you guys, and thanks again.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com