<-- Previous || Up || Next -->

Is String Sorted Binary Function
Sort Orders Class

Public Function IsStringSortedBinary( _
    ByVal vString As Variant _
    ) As Variant

Return True if the characters in a string are in ascending sorted order based upon their ASCII value.

    IsStringSortedBinary("ABCabc") = True
    IsStringSortedBinary("AaBbCc") = False
See also:
    IsStringSorted Function
    SortCharactersBinary Function
vString: String whose characters are examined from left-to-right to determine if they are in ascending order. Function returns Null if vString is Null or cannot be fixed up to a String.

Empty strings and one character long strings are considered sorted.

Note: Function uses the ASCII value of characters to determine if they match, which is in effect the same as using Binary comparisons.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.