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

Max Asc Function
Character Arrays Class

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

"Maximum ASCII"
Return the maximum ASCII value of the characters within a string.

    MaxAsc("ABCDCBA") = 68
    MaxAsc("123") = 51
    MaxAsc(123) = 51
See also:
    MinAsc Function
vString: String containing the characters whose ASCII values are examined to determine the maximum. Function returns Null if vString is Null or cannot be fixed up to a String.

Function returns Null if vString is an empty string (one with no characters whose maximum ASCII value could be determined).

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.