RE: [PHP] PHP function for searching words in a string?

From: Date: Mon, 16 Sep 2002 16:28:20 +0000
Subject: RE: [PHP] PHP function for searching words in a string?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116542@lists.php.net to get a copy of this message
Or strstr(), if you don't need any special pattern matching that ereg has. Strstr() will be faster. (case insensitive would be stristr()) ---John Holmes... > -----Original Message----- > From: Collins, Robert [mailto:RCollins@NORTA.COM] > Sent: Monday, September 16, 2002 12:19 PM > To: 'Scott Fletcher'; php-general@lists.php.net > Subject: RE: [PHP] PHP function for searching words in a string? > > ereg(); > > Robert W. Collins II > Webmaster > New Orleans Regional Transit Authority > 6700 Plaza Drive > New Orleans, LA 70127 > Fax : (504) 248-3825 > Phone : (504) 248-3826 > Email : rcollins@norta.com > > > -----Original Message----- > From: Scott Fletcher [mailto:scott@abcoa.com] > Sent: Monday, September 16, 2002 11:10 AM > To: php-general@lists.php.net > Subject: [PHP] PHP function for searching words in a string? > > > Hi! > > What is the PHP function that will search for a word inside a > sentences? > In this case, it is the string. > > Thanks, > Scott F > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#116542) next »