Spinutech interview question

They asked that I write code to evaluate if an entered string was the same backwards and forwards.