Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Edge HMI

StrCompareNoCase

  • Last UpdatedOct 29, 2026
  • 1 minute read

Compares two strings to see if they are identical, ignoring the case of letters (for example, the lower-case "a" is considered to have the same value as the upper-case "A").

Function

Group

Execution

String Exp.

Windows

Windows Embedded

IoT View

Thin Clients

Mobile Access

StrCompareNoCase

String

Synchronous

Yes

Supported

Supported

Supported

Supported

Supported

Syntax

StrCompareNoCase(strValue1,strValue2)

strValue1

The first string in the comparison.

strValue2

The second string in the comparison.

Return value

-1

The value of strValue1 is less than the value of strValue2.

0

The values of strValue1 and strValue2 are equal.

1

The value of strValue1 is greater than the value of strValue2.

Examples

Tag Name

Expression

Tag

StrCompareNoCase("Text1", "TEXT1") // Return value = 0

Tag

StrCompareNoCase(Tag1, Tag2) // Tag1 = "Text1", Tag2 = "TEXT1", Return value = 0

In This Topic
Related Links