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 Wolfram Language expressions.
Examplesopen allclose all
Basic Examples (1)
With IgnoreCase->True, lowercase and uppercase letters are treated as equivalent:
Use IgnoreCase->False to treat lowercase and uppercase letters as distinct letters:
IgnoreCase is set to False by default:
Find positions of successive identical characters independent of case:
This replaces all occurrences regardless of case:
Determine alphabetic order independent of case:
With IgnoreCase->True, WordFrequency will count all case variations to compute the frequency:
Wolfram Research (1991), IgnoreCase, Wolfram Language function, https://reference.wolfram.com/language/ref/IgnoreCase.html.
Wolfram Language. 1991. "IgnoreCase." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/IgnoreCase.html.
Wolfram Language. (1991). IgnoreCase. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IgnoreCase.html