Re: Algorithm

From: Date: Sun, 08 Oct 2000 20:17:11 +0000
Subject: Re: Algorithm
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19113@lists.php.net to get a copy of this message
take a look at the explode function. It turns a string into an array split by any character you want (space in your case) http://www.php.net/manual/function.explode.php ----- Original Message ----- From: "Javier Leyba" <jleyba@sabueso.net> To: <php-general@lists.php.net> Sent: Sunday, October 08, 2000 12:56 PM Subject: [PHP] Algorithm Hi ! I'm loocking for an algorithm to split words or phrases from an input field like search engines do. I mean I need something to interpreter words people put into input fields like football +maradona -mexico (like Altavista, Google etc.) I don't want to invent the wheel and I guess there are many probed algorithms to do the job. Could anybody help me ? Thanks in advance. Javier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#19113) next »