StrCaseCmp constructor

StrCaseCmp(
  1. dynamic a,
  2. dynamic b
)

Creates $strcasecmp operator expression

Performs case-insensitive comparison of two strings. Returns

  • 1 if first string is “greater than” the second string.
  • 0 if the two strings are equal.
  • -1 if the first string is “less than” the second string.

Implementation

StrCaseCmp(a, b) : super('strcasecmp', AEList([a, b]));