Function Codes Ciphers Class

RemoveVowels

Removes the characters representing vowels from a string.

Signature (Visual Basic / VBA)

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

Code Example

    RemoveVowels("This is only a test.") = "Ths s nly  tst."

Parameters

Parameter Description
vValue String containing the phrase which is to have its vowels removed. Function returns Null if vValue is Null or cannot be fixed up to a String.

Notes & Version History

Summary Vowels consist of the characters "A", "E", "I", "O", "U", plus certain accented "foreign" characters.
Note Function uses the built-in character classification routines to determine which characters represent vowels.