Class StringCompareMode

This class contains string compare mode constants.

Methods


(stringcomparemode) CASE INSENSITIVE

String compare mode set to CASE INSENSITIVE.

Return value

Example

main
    StringComparemode cMode = CASE INSENSITIVE
    string str1 = "a"
    string str2 = "A"
    CompareResult cr = str1.compare to str2 compare mode cMode  // cr == EQUAL
    

(stringcomparemode) CASE SENSITIVE

String compare mode set to CASE SENSITIVE.

Return value

Example

main
    StringComparemode cMode = CASE SENSITIVE
    string str1 = "a"
    string str2 = "A"
    CompareResult cr = str1.compare to str2 compare mode cMode  // cr == GREATER THAN