Code:
if(strfind(data[Something], string) !== -1) {
return true;
} else {
return false;
}
It doesn't work.
Also contain, containi is not working properly. What's the point to exists these functions when they returns -1, and zero (which in if, while statements are false)
I want to search string inside another string, it can be 1 single char from that string or all strings.
equal and or equali will not work in my situation.
Code:
if(!(strfind(data[Something],string))
Will not work,because always returns 1 even if no string match
Tested it with !! too.
AMXXi is 1.8.2