Re: i need help

From: Date: Tue, 18 May 2004 04:51:49 +0000
Subject: Re: i need help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186451@lists.php.net to get a copy of this message
* Thus wrote Student (coolstudprit@hotmail.com): > Hi i was hoping if someone can help; > > I want to trim the following text > > [i:abcdef] > > but the inside text is different at time eg abcdef, bcdefg, etc etc > how can i trim [i:(some text here)] so that i can replace them with nothing. > > eg these are to be trimmed. > > [i:abcdef] > [i:bcdefg] http://php.net/substr echo substr('[i:abcdef]', 3, -1); Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#186451) next »