Reverse Text
How This Converter Works
Reverses the input by iterating backward through JavaScript UTF-16 code units. Supplementary Unicode characters can consequently have their surrogate halves reversed.
Formula or rule
Output = input[length - 1] + ... + input[1] + input[0].
Example
- Input
- straw
- Calculation
- Append the characters in reverse index order.
- Result
- warts