Find muliple words in input string

Hello Friends,
I am learning action script 2.o. and i want to create a programme to “find the multiple alphabets in a input string”. but i haven’t any idea. Please give me an logic for it.

Your Friend

Himanshu Vyas