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

Is Alliteration Function
String Words Class

Public Function IsAlliteration( _
    ByVal vValue As Variant _
    ) As Variant

Return True if the phrase vValue is an alliteration.
An alliteration is a phrase in which each word begins with the same letter.

Examples:
    IsAlliteration("Apple") = False
    IsAlliteration("Adam's Apple") = True
    IsAlliteration("Adam's Apple Orchard") = False
See also:
    AcronymString Function
    IsAnagram Function
    IsPalindrome Function
vValue: Phrase which is to be checked to determine if it is an alliteration. Function returns Null if vValue is Null or cannot be fixed up to a String.

Note: Function uses the built-in character classification routines to determine which characters represent spaces and which represent alphanumeric characters.

Note: The phrase must contain at least two words beginning with the same letter to be considered an alliteration.

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