> >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
> > > 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
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]
&
"Mike Mapsnac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Below is string let's name it A.
> ttPhiladelphiaFirstadate05Oct2004tt
>
> I want to get string B. That looks like
> PhiladelphiaFirstadate05Oct2004
>
> No characters before Philadelphia
Below is string let's name it A.
ttPhiladelphiaFirstadate05Oct2004tt
I want to get string B. That looks like
PhiladelphiaFirstadate05Oct2004
No characters before Philadelphia and after 20004
From: "Torsten Roehr" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subj
5 matches
Mail list logo