Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2117-standardlibrary-stringoperations-cstring-cstringcomparenocase.md
T
2026-06-23 21:47:51 +08:00

42 lines
761 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CompareNoCase
Performs a case insensitive string comparison.
```
int  CompareNoCase(
   const string  str      // string
   ) const;
```
Parameters
str
[in]  String to compare.
Return Value
0 - strings are equal, -1 - a class string is lower than a string to compare, 1 - a class string is greater than a string to compare.
# CompareNoCase
Compares a string (case insensitive) to a CString class instance string.
```
int  CompareNoCase(
   CString*  str      // pointer
   ) const;
```
Parameters
str
[in]  Pointer to CString class instance to compare.
Return Value
0 - if strings are equal, -1 - a class string is lower than a string to compare, 1 - a class string is greater than a string to compare.