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

Every Character Of Type Function
Character Types Class

Public Function EveryCharacterOfType( _
    ByVal vCharType As Variant _
    ) As Variant

Accepts one of the Char.. constants and returns all of the characters of that type according to the currently-loaded character classification.
The character classification definitions for the ANSI Windows character set are loaded by default.

    EveryCharacterOfType(CharTypeUpper) = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    EveryCharacterOfType(CharTypeDigit) = "0123456789"
assuming that the US ASCII character classification definitions have been loaded. If the ANSI Windows definitions have been loaded, then the list of upper-case characters would also include all of the upper-case accented characters whose ASCII value is above 127.
See also:
    EveryCharacter Function
    EveryCharacterWithinRange Function
vCharType: Character classification as defined by one of the CharacterTypeConstant values. Function returns Null if vCharType is Null or cannot be fixed up to a Long Integer value.
v1.3 Change: Changed the argument to be of type CharacterTypeConstants since those Constants are now part of an Enum(eration).
v2.0 Change: Changed the argument back to a Variant type, and changed the return value back to a Variant.

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