Frage im Vorstellungsgespräch bei Optibus

How would you implement a function that reverses a string without using built-in methods like reverse()?