StringReverse

StringReverse["string"]

reverses the order of the characters in "string".

Details

Examples

open allclose all

Basic Examples  (1)

Reverse the characters in a string:

Scope  (3)

StringReverse works on special characters:

StringReverse threads automatically over lists:

StringReverse works directly on biomolecular sequences:

Applications  (1)

Find all palindromes in the dictionary:

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:

Wolfram Research (1991), StringReverse, Wolfram Language function, https://reference.wolfram.com/language/ref/StringReverse.html (updated 2020).

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_2024_stringreverse, author="Wolfram Research", title="{StringReverse}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/StringReverse.html}", note=[Accessed: 06-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_stringreverse, organization={Wolfram Research}, title={StringReverse}, year={2020}, url={https://reference.wolfram.com/language/ref/StringReverse.html}, note=[Accessed: 06-October-2024 ]}