* Michelle Konzack <[EMAIL PROTECTED]>:
> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to