Re: [PHP] php equivalent to asp's instr()

2003-08-28 Thread David Otton
On Wed, 27 Aug 2003 14:07:34 -0700, you wrote: >I don't know why but I've had the darndest time trying to find an easy >equivalent of asp's InStr() function in PHP. I know there is >preg_match(), strpos(), and strstr(), but none of them work like I want >them to. > >In fact, except for maybe preg_

RE: [PHP] php equivalent to asp's instr()

2003-08-28 Thread Cody Phanekham
; Subject: [PHP] php equivalent to asp's instr() > > > Hi. > > I don't know why but I've had the darndest time trying to find an easy > equivalent of asp's InStr() function in PHP. I know there is > preg_match(), strpos(), and strstr(), but none of them

[PHP] php equivalent to asp's instr()

2003-08-27 Thread Chris W. Parker
Hi. I don't know why but I've had the darndest time trying to find an easy equivalent of asp's InStr() function in PHP. I know there is preg_match(), strpos(), and strstr(), but none of them work like I want them to. In fact, except for maybe preg_match(), I can't get any of them to work right.