RE: [PHP] Re: Remove cahracters in string

2004-05-10 Thread Rick Fletcher
> >For this example I would have suggested: > > > > > $str = "PhiladelphiaFirstadate05Oct2004"; > > > > $str = trim( $str, "t" ); > > > > print( $str ); // outputs "PhiladelphiaFirstadate05Oct2004" > >?> > > > >Cheers, > > Rick > > > > t is not static character. My example

RE: [PHP] Re: Remove cahracters in string

2004-05-10 Thread Rick Fletcher
> > > Below is string let's name it A. > > > > ttPhiladelphiaFirstadate05Oct2004ttt > > > ttt > > > > > > I want to get string B. That looks like > > > PhiladelphiaFirstadate05Oct2004 > > > > > > No characters before Philadelphia and after 20004 > > > >Is the charac

Re: [PHP] Re: Remove cahracters in string

2004-05-10 Thread Mike Mapsnac
No. It just an example From: "Torsten Roehr" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Remove cahracters in string Date: Mon, 10 May 2004 22:49:27 +0200 "Mike Mapsnac" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] &

Re: [PHP] Re: Remove cahracters in string

2004-05-10 Thread Torsten Roehr
te05Oct2004 > > No characters before Philadelphia and after 20004 Is the character you want to remove ('t') always the same? Torsten > > > > > >From: "Torsten Roehr" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: [PHP] Re: Remove cah

RE: [PHP] Re: Remove cahracters in string

2004-05-10 Thread Mike Mapsnac
To: [EMAIL PROTECTED] Subject: [PHP] Re: Remove cahracters in string Date: Mon, 10 May 2004 22:37:36 +0200 "Mike Mapsnac" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I search on php.net and couldn't find the function. I need a function that > will remov

[PHP] Re: Remove cahracters in string

2004-05-10 Thread Torsten Roehr
"Mike Mapsnac" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I search on php.net and couldn't find the function. I need a function that > will remove characters in the string until it reached the pattern and > remove characters in the string after another pattern. > > The program r