startsWithVowel {FastUtils} | R Documentation |
This function checks if a string starts with a vowel.
startsWithVowel(x)
x |
A character string. |
TRUE if the string starts with a vowel, FALSE otherwise.
# Check if "apple" starts with a vowel
startsWithVowel("apple")
# Check if "banana" starts with a vowel
startsWithVowel("banana")