Signature (Visual Basic / VBA)
Public Function IsStringSortedBinary( _
ByVal vString As Variant _
) As Variant
Code Example
IsStringSortedBinary("ABCabc") = True
IsStringSortedBinary("AaBbCc") = False
Parameters
| Parameter | Description |
|---|---|
| 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. |
Notes & Version History
| Note | Function uses the ASCII value of characters to determine if they match, which is in effect the same as using Binary comparisons. |