Re: Re: Remove cahracters in string

From: Date: Mon, 10 May 2004 20:54:47 +0000
Subject: Re: Re: Remove cahracters in string
Groups: php.general 
Request: Send a blank email to php-general+get-185865@lists.php.net to get a copy of this message
No. It just an example
From: "Torsten Roehr" <roehr@zilleon.com> To: php-general@lists.php.net Subject: Re: [PHP] Re: Remove cahracters in string Date: Mon, 10 May 2004 22:49:27 +0200 "Mike Mapsnac" <mikerh9@hotmail.com> wrote in message news:BAY15-F19dZ06YO4OPX00026b0b@hotmail.com... 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 Is the character you want to remove ('t') always the same? Torsten
From: "Torsten Roehr" <roehr@zilleon.com> To: php-general@lists.php.net Subject: [PHP] Re: Remove cahracters in string Date: Mon, 10 May 2004 22:37:36 +0200 "Mike Mapsnac" <mikerh9@hotmail.com> wrote in message news:BAY15-F35GrRTIupiq400034b0e@hotmail.com...
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
_________________________________________________________________ Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com

« previous php.general (#185865) next »