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 allclose 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:
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