Re: Remove cahracters in string
| From: | John W. Holmes | Date: | Tue, 11 May 2004 02:41:23 +0000 |
| Subject: | Re: Remove cahracters in string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185878@lists.php.net to get a copy of this message | ||
Mike Mapsnac wrote:
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.Wouldn't it be smarter to match the pattern into a new string and ignore the rest?? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com