Code: Select all
|--------------------------------------------------------------------------------
|SUB: InArrayPartial
|--------------------------------------------------------------------------------
Sub InArrayPartial(string Needle, array Haystack)
/declare i int
/for i 1 to ${Haystack.Size}
/if (${Needle.Find[${Haystack[i]}]}) {
/return TRUE
}
/next i
/return FALSE
