Public Function SortOrderString( _
Optional ByVal vCompare As Variant _
) As String SortOrderString(vbBinaryCompare) = Chr$(0) + Chr$(1) + ... + Chr$(255) ' #1
SortOrderString(vbBinaryCompare) = EveryCharacterNote: The results of example #1 has been condensed with "..." to save space. SortOrderMatchingCharacters Function
SortOrderNumbers FunctionvCompare: Specifies the sort order/collating sequence for which the sort order string will be prepared. vCompare defaults to Binary comparisons if it is missing or Null or cannot be fixed up to a number; in the Binary collating sequence, the result matches the string produced by the EveryCharacter function. Note: Function currently only works for characters whose ASCII value is between 0 and 255, so it does NOT support UNICODE.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.