Help with forbidden characters [+1]
#5

strfind returns -1 when the needle is not found in the haystack.

An example of this would be:
pawn Код:
if(strfind(params, "@", true) == -1)
{
    // No @-sign!
}
Reply


Messages In This Thread
Help with forbidden characters [+1] - by CaRa - 10.10.2012, 19:21
Re: Help with forbidden characters [+1] - by PrawkC - 10.10.2012, 19:29
Re: Help with forbidden characters [+1] - by CaRa - 10.10.2012, 19:31
Re: Help with forbidden characters [+1] - by PrawkC - 10.10.2012, 19:35
Re: Help with forbidden characters [+1] - by AndreT - 10.10.2012, 19:36
Re: Help with forbidden characters [+1] - by CaRa - 10.10.2012, 19:47
Re: Help with forbidden characters [+1] - by AndreT - 10.10.2012, 19:56
Re: Help with forbidden characters [+1] - by CaRa - 10.10.2012, 20:12

Forum Jump:


Users browsing this thread: 3 Guest(s)