startsWithVowel: Check if a String Starts with a Vowel

View source: R/spelling.R

startsWithVowelR Documentation

Check if a String Starts with a Vowel

Description

This function checks if a string starts with a vowel.

Usage

startsWithVowel(x)

Arguments

x

A character string.

Value

TRUE if the string starts with a vowel, FALSE otherwise.

Examples

# Check if "apple" starts with a vowel
startsWithVowel("apple")
# Check if "banana" starts with a vowel
startsWithVowel("banana")

FastUtils documentation built on Sept. 11, 2024, 5:13 p.m.