main
StringComparemode cMode = CASE INSENSITIVE
string str1 = "a"
string str2 = "A"
CompareResult cr = str1.compare to str2 compare mode cMode // cr == EQUAL
This class contains string compare mode constants.
String compare mode set to CASE INSENSITIVE.
main
StringComparemode cMode = CASE INSENSITIVE
string str1 = "a"
string str2 = "A"
CompareResult cr = str1.compare to str2 compare mode cMode // cr == EQUAL
String compare mode set to CASE SENSITIVE.
main
StringComparemode cMode = CASE SENSITIVE
string str1 = "a"
string str2 = "A"
CompareResult cr = str1.compare to str2 compare mode cMode // cr == GREATER THAN