Mathematica 9 is now available

IgnoreCase

Usage

IgnoreCase 是串操作和搜索函数的一个选项,指定大小字母是否应当认为是相同的。


Notes

• 在缺省设置IgnoreCase -> False, 大小字母认为是完全不同的。 • 在缺省设置IgnoreCase -> True, 大小字母认为是相同的。
IgnoreCaseStringPosition, StringReplace, StringMatchQ, Find and FindList的一个选项
IgnoreCase 决不影响Mathematica表达式的分解。
• 参见 Mathematica 全书: 2.7.2.
Further Examples

This gives the positions in the string where the letter s occurs, regardless of case.

In[1]:=  

Out[1]=

In the first case only those strings that match explicitly are replaced; in the second any string that matches, ignoring case, will be replaced.

In[2]:=  

Out[2]=

In[3]:=  

Out[3]=



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.