Why not use one call to ExecuteSQL?
SELECT TableName FROM FileMaker_Tables WHERE TableName LIKE 'whatever'
LIKE with Wildcards
LIKE should have the wildcards (% means 0 or more characters):
LIKE '%abc%' if you want to match within the item.
LIKE '%abc' to match the end of the item.
LIKE 'abc%' to match the beginning of the item.
Keep in mind that SQL (ExcecuteSQL function, too) is CASE sensitive. I usually make sure everything is LOWER() or UPPER() before comparing. Output would be in that format as well.
WHERE LOWER(myfield) LIKE LOWER('%ABC%') returns: