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 Patterns > EndOfString >
Mathematica > Core Language > Rules & Patterns > Patterns > String Patterns > EndOfString >

EndOfString

EndOfString
represents the end of a string for purposes of matching in StringExpression.
Test whether a string ends with a "t":
Test whether a string ends with a "t":
In[1]:=
Click for copyable input
Out[1]=
Replace the last letter in a string:
Remove the trailing spaces:
New in 5.1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF