RE: [PHP] trim strings
| From: | Van Andel, Robert | Date: | Wed, 13 Nov 2002 17:20:12 +0000 |
| Subject: | RE: [PHP] trim strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124253@lists.php.net to get a copy of this message | ||
You should be able to use substr().
In your case, you would do
$newstring = substr($string,10);
Click the link for documentation.
http://www.php.net/manual/en/function.substr.php
Robbert van Andel
===============================
Network Operator
NW Regional Operations Center
Charter Communications
ROC Phone: 866-311-6646
Desk Phone: 360-828-6727
email: DL NW ROC
===============================
-----Original Message-----
From: Greg [mailto:gregchagnon@hotmail.com]
Sent: Wednesday, November 13, 2002 9:15 AM
To: php-general@lists.php.net
Subject: [PHP] trim strings
Hi-
Is there return a string with it's first 10 characters stripped? Thanks.
_Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers."