splitting text
| From: | daniel at electroteque dot org | Date: | Wed, 04 Jun 2003 05:41:26 +0000 |
| Subject: | splitting text | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150111@lists.php.net to get a copy of this message | ||
hi there , i am building a fulltext search engine which will use the mysql
boolean search features , although it defaults to OR with words between
spaces you have to explictly put a + in front of words so say i typed
"some word" word2 ,to get both i have to do +"some word" +word2
how can i split this phrase "some word" word2 so that i can split "some
word" and word2 into two different words so i can format them , currently
split on a space will split "some word" into "some and word" any ideas ?