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

Acronym From Capitals Function
String Words Class

Public Function AcronymFromCapitals( _
    ByVal vPhrase As Variant _
    ) As Variant

Extract all of the capital letters from a string.

Examples:
    AcronymFromCapitals("Hello Joe") = "HJ"
    AcronymFromCapitals("This is a test.") = "T"
See also:
    AcronymString Function
    KeepCharacters Function
vPhrase: String containing the words whose capital letters will be returned. Function returns Null if vPhrase is Null or cannot be fixed up to a String.

Note: Function uses the built-in character classification routines to determine which characters are upper-case.

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