prependIndefArticle | R Documentation |
This function prepends an indefinite article ("a" or "an") to a string based on whether it starts with a vowel or not.
prependIndefArticle(x)
pia(x)
x |
A character string. |
The string with an indefinite article prepended.
# Prepend an indefinite article to "apple"
prependIndefArticle("apple")
# Prepend an indefinite article to "banana"
prependIndefArticle("banana")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.