Signature (Visual Basic / VBA)
Public Function IsAlliteration( _
ByVal vValue As Variant _
) As Variant
Code Example
IsAlliteration("Apple") = False
IsAlliteration("Adam's Apple") = True
IsAlliteration("Adam's Apple Orchard") = False
Parameters
| Parameter | Description |
|---|---|
| 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. |
Notes & Version History
| 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. |