how to check if there's a CHAR inside a string?
#3

Код:
if(strfind(string,"@",true,0)>-1)
...stringfind returns the position of the (first) found char - if the desired char/string is not found, it will return -1.
Reply


Messages In This Thread
how to check if there's a CHAR inside a string? - by PaulDinam - 22.01.2013, 13:54
Re: how to check if there's a CHAR inside a string? - by [XST]O_x - 22.01.2013, 13:56
Re: how to check if there's a CHAR inside a string? - by Babul - 22.01.2013, 14:24
Re: how to check if there's a CHAR inside a string? - by PaulDinam - 22.01.2013, 14:36
Re: how to check if there's a CHAR inside a string? - by EpicNinja - 22.01.2013, 14:39
Re: how to check if there's a CHAR inside a string? - by PaulDinam - 22.01.2013, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)