Reply to Re: php equivalent for cut

Your name:

Reply:


Posted by Matthew Weier O'Phinney on 09/06/05 21:13

* Michelle Konzack <linux4michelle@freenet.de>:
> I am searching for the right equivalent for "cut -d : -f5"
> but it must work with php4.

$fields = explode(':', $string, 5);

> Since the website <http://www.php.net/manual/de/> has no
> seperated manuals for php4 and php5, it is not easy to
> find the right stuff.

explode() works the same in both PHP4 and PHP5. Additionally, the manual
is very good at detailing in what versions of PHP a function is valid.

--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/

[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

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