Function Spellings Class

SpellPhonetic

Spell a phrase using the international phonetic alphabet.

Signature (Visual Basic / VBA)

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

Code Examples

    SpellPhonetic("Sam 123") = "Sierra Alpha Mike   One Two Three"
    ,     Comma
    .     Period
    0..9  Zero..Nine
    A..Z  Alpha..Zulu

Parameters

Parameter Description
vValue The string containing the characters that are to be spelled using the international phonetic alphabet. Any characters other than those mentioned in the table above are ignored.

Notes & Version History

Note Function is pre-programmed with the phonetic spelling for the following characters: The function adds a space between each of the characters which have a phonetic equivalent, and it replaces a single space with three spaces (two spaces plus the one-space character separator), so that word breaks can be easily identified in the result string.