|
-
Jun 21st, 2006, 12:10 PM
#1
Thread Starter
Frenzied Member
Triming first 7 characters
I have a string, of which the first 7 characters need to be stripped, so i am left with the remaining string.
Any ideas on how this is done?
ILMV
-
Jun 21st, 2006, 12:25 PM
#2
Re: Triming first 7 characters
I would imagine the SubStr function would be of help to you:
http://ca3.php.net/manual/en/function.substr.php
HTH
-
Jun 21st, 2006, 12:40 PM
#3
Thread Starter
Frenzied Member
Re: Triming first 7 characters
I have been looking at that before, but i ant to delete those 7 characters from the string? can substr do this?
ILMV
-
Jun 21st, 2006, 01:04 PM
#4
Re: Triming first 7 characters
$mystring = substr($mystring, 7);
-
Jun 22nd, 2006, 09:25 AM
#5
Thread Starter
Frenzied Member
Re: Triming first 7 characters
Thats the one i wanted thanks all guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|