10-23-2009, 07:25 PM
I would like substr to take off the first 3 characters off of a string.
RE: Blah Blah
Would be: Blah Blah
Can someone help me?
Ok I fixed it.
10-23-2009, 07:35 PM
Use the start and length parameters
$some_string = substr("Blah Blah", 0, 3);
10-23-2009, 07:40 PM
I had a similar question.
I want to check for the word CATEGORY: inside a string which can be CATEGORY: ITEM
and remove the word CATEGORY: leaving only ITEM inside the string....
In case the string does not have CATEGORY: before listing the ITEM then nothing happens...
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum
vBulletin® v3.8.2, Copyright ©2000-2013, Jelsoft Enterprises Ltd.