actionSCRIPT problemo

I have an action script that goes like this

on (release) {
if (answer == “clock”) {
getURL (“index2.htm”, “_self”);
}
}

I want to know if theres a way to make the answer variable be forced into becoming lowercase?

Ensuring that even if answer = “ClOcK” the user is still passed to the next URL

on (release) {
if (answer.toLowerCase() == "clock") {
getURL("index2.htm", "_self");
}
}

=)