Quote:
|
Originally Posted by Kraugh
equali returns 0 if it didn't find anything, 1 if it did. you are checking to see if it does not equal -1, so this condition will always return true. you are confusing this with containi in which it returns -1 when nothing is found but sometimes 0 if something is.
|
You read me like an open book. If it works now im gonna name a kid after you

. I use contain in one place and equl in another, that why i confused them.