IIRC then fpc trunk allows the "in" operator for that (which internally will I think use a loop.
If you make MyArray a string then you can use Pos() to determine if a char is in MyArray.
Internally this uses more optimized code than a simple for loop IIRC, so it might be faster.
Bart