Re: split()
| From: | Chris Shiflett | Date: | Thu, 13 Nov 2003 04:55:25 +0000 |
| Subject: | Re: split() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169422@lists.php.net to get a copy of this message | ||
--- erythros <erythros@erythros.com> wrote:
> trying to use split(). i want to split a paragraph by sentence. so of
> course i used split('[.!?]', $data). but then i noticed i use ... or
....
> every now and again at the end of a sentence.
Maybe you could explode on a period followed by a space? I wouldn't think
split is necessary here.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp