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

IgnoreCase

IgnoreCase
is an option for string manipulation and searching functions that specifies whether lowercase and uppercase letters should be treated as equivalent.
  • With the default setting IgnoreCase->False, lowercase and uppercase letters are treated as totally different.
  • With the setting IgnoreCase->True, lowercase and uppercase letters are treated as equivalent.
  • IgnoreCase is an option for many string, file and symbol name functions.
  • IgnoreCase in no way affects the parsing of Mathematica expressions.
With IgnoreCase->True, lowercase and uppercase letters are treated as equivalent:
Use IgnoreCase->False to treat lowercase and uppercase letters as distinct letters:
With IgnoreCase->True, lowercase and uppercase letters are treated as equivalent:
In[1]:=
Click for copyable input
Out[1]=
Use IgnoreCase->False to treat lowercase and uppercase letters as distinct letters:
In[2]:=
Click for copyable input
Out[2]=
IgnoreCase is set to False by default:
Find positions of successive identical characters independent of case:
This replaces all occurrences regardless of case:
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF