Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

StringPosition

StringPosition works much like StringCases, except the positions of the matching substrings are returned.

In[67]:= 

Out[67]=

In[68]:= 

Out[68]=

The Overlaps option is True by default (see the previous section for more details on this option).

In[69]:= 

Out[69]=

Note that even empty strings can be matches.

In[70]:= 

Out[70]=


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: