Re: Taking the last word out of a string

From: Date: Fri, 12 Apr 2002 11:21:49 +0000
Subject: Re: Taking the last word out of a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92744@lists.php.net to get a copy of this message
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. */

« previous php.general (#92744) next »