Informatica interview question

write strrev function?