Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > String Manipulation > String Operations > StringJoin (<>) >

StringJoin

"s1"<>"s2"<>..., StringJoin, or StringJoin
yields a string consisting of a concatenation of the .
Join strings:
Use InputForm to show string quotes:
All lists are ignored:
Join strings:
In[1]:=
Click for copyable input
Out[1]=
Use InputForm to show string quotes:
In[2]:=
Click for copyable input
Out[2]//InputForm=
 
All lists are ignored:
In[1]:=
Click for copyable input
Out[1]=
StringJoin works with special characters:
Join strings, with a newline in between:
StringJoin preserves formatting information embedded in strings:
Iteratively join a string to its reverse:
Find trigrams in a string:
Join a list of words, after inserting spaces in between:
Create a Champernowne number:
StringJoin acts as a kind of inverse to Characters:
StringJoin works only with explicit strings:
Use ToString to convert to a string:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF