Re: [PHP] String in a string

2001-04-07 Thread Christian Reiniger
On Friday 06 April 2001 16:42, you wrote: > How do I find out if a string is contained in a string. I just need > true/false. strstr()? -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) This is JohnC IMHO, I compaired tri-word groupings here and in his plan and got a good match.

Re: [PHP] String in a string

2001-04-06 Thread Phil Driscoll
>try preg_match A bit of a big hammer for cracking nuts. strstr and stristr will tax your server much more lightly, and, no doubt, do the job quicker as well. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP General Mailing

Re: [PHP] String in a string

2001-04-06 Thread Martin Cabrera Diaubalick
Hello Mike, try preg_match See http://www.php.net/manual/en/function.preg-match.php HTH Regards - Original Message - > From: Mike <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, April 06, 2001 4:42 PM > Subject: [PHP] String in a string > &

RE: [PHP] String in a string

2001-04-06 Thread Jon Haworth
Mike, You could investigate the functions strstr (www.php.net/strstr) and stristr (www.php.net/stristr), it sounds like they're what you're after. HTH Jon -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: 06 April 2001 15:42 To: [EMAIL PROTECTED] Subject: [PHP]