Extract from string

From: Date: Sat, 14 Apr 2001 21:07:35 +0000
Subject: Extract from string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48553@lists.php.net to get a copy of this message
Hi all, anyone have or know where I can find a small function in order to extract from a string the most relevant words in it? something like this: $var="I love coffe ... Coffe is from Brazil and coffe with milk .."; $occurence=2; //$occurence means word that are repeat 2 or more times my_dream_funct($var,$occurence); //the funct now return the word _ coffe _ many thanks in advance max ps.plz note: I need that it works on php3

« previous php.general (#48553) next »