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

  • " " <> " " <> ... , StringJoin[" ", " ", ... ] or StringJoin[ " ", " ", ... ] yields a string consisting of a concatenation of the .
  • Example: "the" <> " " <> "cat".
  • StringJoin has attribute Flat.
  • When arguments are not strings, StringJoin is left in symbolic form.
  • See the Mathematica book: Section 2.7.2Section 2.7.4.
  • See also: Join, Characters, StringInsert, StringReplacePart.

    Further Examples

    This concatenates two strings.

    In[1]:=

    Out[1]=



    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.