something like this:
Code: Select all
char := "abc"
string := "a"
if string contains any of char ;check if string has A, B or C; if some of the characters specified in char is find, then:
{
MsgBox, string has char
}
Code: Select all
char := "!%"
string := "find!" ;i want to detect the '!' char
if InStr(string, char)
{
MsgBox, found the char
}