Blackbaud interview question

Very simple function/string manipulation questions, e.g., write a function to reverse a string.