Detection of @-sign in forms

Hi there, can anybody tell me how I could manage it to get a actionscripted detection wether all boxes of a form have been filled out properly or not and wether the email-box entry contains an @-sign or not.
I really need to know, I hope someone can help me,
thx phoenix

[AS]//lets say your text box is called myText_txt
textProcess = myText_txt.text
if(textProcess.indexOf("@") != -1){
//do some stuff
}[/AS]

Thanks a lot for your answer, I´ll try that one. It is a little bit like the @-dtection in javascript, right? Sounds good, thx phoenix