BlackBerry interview question

Write a program that reverses a string