Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Programming / String Manipulation  /
StringReverse

  • StringReverse[" string "] reverses the order of the characters in " string ".
  • Example: StringReverse["abcde"].
  • See the Mathematica book: Section 2.7.2.
  • See also: Reverse.

    Further Examples

    Two palindromes.

    In[1]:=

    Out[1]=

    In[2]:=

    Out[2]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.