Learn R Programming

covfefe (version 1.0.0)

vowel_shift: Shift vowels in a word

Description

Shift vowels in a word

Usage

vowel_shift(word, from, to)

Value

Character. Transformed word

Arguments

word

Character. Word to transform

from

Character. Vowel to replace

to

Character. Replacement vowel

Examples

Run this code
vowel_shift("test", "e", "i")  # "tist"

Run the code above in your browser using DataLab