compareIgnoreCaseString

Case-insensitive comparison with another string.

Syntax

compareIgnoreCaseString(content, wildcard)

Returns

(integer) 0 if the two strings are identical; negative if this string comes before the other one alphabetically, or positive if it comes after it.

Parameters

content (string)
source
wildcard (string)
the compare string

Usage

echo(compareIgnoreCaseString("8", "7") < 0 ? "acending or equal" : "decending");