Nokia Interview Question

(easy) Reverse an inputted string (abcd to dcba)