Parameters & Returns
Parameters
Returns
Quick Summary
Reverses the characters in a string.
Takes str (string to reverse).
Returns a new string with all characters in reverse order.
Technical Exegesis...
Returns a new string with all characters in reverse order. The first character becomes the last, the last becomes the first.
Returns an empty string if str is null. Useful for palindrome checking, reversing text for display effects, or certain string processing algorithms.