Stripping out last 3 characters??
| From: | Sandeep Hundal | Date: | Fri, 08 Dec 2000 05:11:21 +0000 |
| Subject: | Stripping out last 3 characters?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29281@lists.php.net to get a copy of this message | ||
Ok,
I've been busting the php manual and the archives to find this, but I
can't, so sorry for asking a question which looks so trivial :(
How do I strip out the last 3 characters of any given string?
I tried using substr but not sure how to make it work given that I
dont know where it should start stripping chars from. :(
Thanks in advance!!!
Sunny
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/