You are here: Re: split() « PHP Programming Language « IT news, forums, messages
Re: split()

Posted by gosha bine on 05/21/07 14:18

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

 

Navigation:

[Reply to this 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

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