StringReverse["string"]
reverses the order of the characters in "string".


StringReverse
StringReverse["string"]
reverses the order of the characters in "string".
Details

- StringReverse[{s1,s2,…}] gives the list of results for each of the si.
- StringReverse[BioSequence["type","seq"]] will reverse the string "seq" yielding a BioSequence result.
Examples
open all close allScope (3)
StringReverse works on special characters:
StringReverse threads automatically over lists:
StringReverse works directly on biomolecular sequences:
Properties & Relations (3)
Newline (\n) counts as a single character:
StringReverse is the string equivalent of Reverse:
StringReverse is its own inverse:
Possible Issues (1)
StringReverse operates on the raw characters in a string:
See Also
Tech Notes
Related Guides
History
Introduced in 1991 (2.0) | Updated in 2003 (5.0) ▪ 2004 (5.1) ▪ 2020 (12.2)
Text
Wolfram Research (1991), StringReverse, Wolfram Language function, https://reference.wolfram.com/language/ref/StringReverse.html (updated 2020).
CMS
Wolfram Language. 1991. "StringReverse." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/StringReverse.html.
APA
Wolfram Language. (1991). StringReverse. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StringReverse.html
BibTeX
@misc{reference.wolfram_2025_stringreverse, author="Wolfram Research", title="{StringReverse}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/StringReverse.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_stringreverse, organization={Wolfram Research}, title={StringReverse}, year={2020}, url={https://reference.wolfram.com/language/ref/StringReverse.html}, note=[Accessed: 08-August-2025]}