Kyle Undefined
2011-11-08 22:31:30
I was doing some string tests and I used this function at one part. The text I was searching for was in the string but it was still returning False.
I copied the function to my script to debug it and I found an issue when it does the Pos(); call.
Should really be
As that's the correct parameter order. Hope this is fixed soon, so I'll just use my function till it is.
I copied the function to my script to debug it and I found an issue when it does the Pos(); call.
if Pos(Str, arrS[I]) > 0 then
Exit;
Should really be
if Pos(arrS[I], Str) > 0 then
Exit;
As that's the correct parameter order. Hope this is fixed soon, so I'll just use my function till it is.