Oracle interview question

Reverse a string without using library functions