Reply to Re: split()

Your name:

Reply:


Posted by Vince Morgan on 05/21/07 14:24

"gosha bine" <stereofrog@gmail.com> wrote in message
news:4651abb0$0$2893$6e1ede2f@read.cnntp.org...
> On 21.05.2007 15:50 Vince Morgan wrote:
> > My problem has a simple solution. However I just can't find it. I
cannot
> > remember which 'split()' type function allows you to keep the delimiter
in
> > place within the final array.
> > I've tried searching the documentation without success.
> > TIA
> > Vince
> >
> >
>
> preg_split with PREG_SPLIT_DELIM_CAPTURE or
> preg_match('/[^,;]+|[,;]/'...) where ',;' are delimiters
>
> --
> gosha bine
>
> extended php parser ~ http://code.google.com/p/pihipi
> blok ~ http://www.tagarga.com/blok

Yep, that's it. Thanks Gosha.
Regards,
Vince

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация