Below is string let's name it A. ttttttttttttttttttttttttttPhiladelphiaFirstadate05Oct2004tttttttttttttt
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] 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 remove characters in the string until it reached the pattern and
> remove characters in the string after another pattern.
>
> The program reads huge file, and remove unnessary data.
> So I need to remove characters before and after the line.
Could you post an example to make absolutely clear what you have and what you want? Thanks.
Torsten
> > FedoraPHPLINUXOct72004 > > _________________________________________________________________ > Is your PC infected? Get a FREE online computer virus scan from McAfee® > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php