Re: [PHP] search a string backwards - like reversed stripos

2003-09-29 Thread Curt Zirzow
* Thus wrote Chris Widmer ([EMAIL PROTECTED]): > hello, > > i am looking for a function that easily searches a sting backwards - > just like stripos but reversed. is there already one part of php or does > anyone have a nice function written? right now i do it by reversing the > sting and using

[PHP] search a string backwards - like reversed stripos

2003-09-29 Thread Chris Widmer
hello, i am looking for a function that easily searches a sting backwards - just like stripos but reversed. is there already one part of php or does anyone have a nice function written? right now i do it by reversing the sting and using strpos, but this is highly inefficient. any ideas/solution