Is there way to keep delimiter while using php explode or other similar functions?

Posted by user353889 on Stack Overflow See other posts from Stack Overflow or by user353889
Published on 2010-05-30T09:55:42Z Indexed on 2010/05/30 10:02 UTC
Read the original article Hit count: 226

Filed under:

For example, I have an article should be splitted according to sentence boundary such as ".", "?", "!" and ":".

But as well all know, whether preg_split or explode function, they both remove the delimiter.

any help would be really appreciated!

© Stack Overflow or respective owner

Related posts about php