Strong's Hebrew Dictionary
ʼay (H335)
Hebrew: אַי (ʼay), pronounced ah'ee.
Origin: perhaps from 370.
Meaning: where? hence how?.
Senses: 1) where?, whence?; 2) which?, how? (in prefix with other adverb).
In the King James Version: how, what, whence, where, whether, which (way).