Check user answer by checking input text box

how do i check the answer that enter by user…
the marks is given by checking whether they user key in the keywords or not…
i m thinking of using string method…but i not able to do it…
pls help…

Let’s say your input box has a Var: inputText

Put this code on a button:

on (release) {
	 if (inputText == "keyword" or inputText == "Keyword") {
		  //actions here (if equal to your keyword)
	 } else {
		 //other actions (if not equal to your keyword)