On Friday 12 April 2002 17:59, Gil Disatnik wrote:
> Hello there,
> I have a string that comes in various sizes and word numbers, I wish to
> extract the last word from this string, how can I do it?
> I have already looked at substr() and strrpos() man pages looking for the
> answer... couldn't find it though...

use explode()

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
The door is the key.
*/

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

Reply via email to