| caseflip | R Documentation |
caseflip flips the case of all characters
in a string of text x.
caseflip(x)
x |
A string of text (required). |
Internally, caseflip uses the letters and LETTERS
constants of base R and the chartr function
for replacing characters in strings of text.
A character vector.
capitalize for converting the case of initial letters;
chartr for replacing characters in strings of text.
Other text objects and functions:
Umlaut,
capitalize(),
cclass,
chars_to_text(),
collapse_chars(),
count_chars(),
count_chars_words(),
count_words(),
invert_rules(),
l33t_rul35,
map_text_chars(),
map_text_coord(),
map_text_regex(),
metachar,
read_ascii(),
text_to_chars(),
text_to_sentences(),
text_to_words(),
transl33t(),
words_to_text()
x <- c("Hello world!", "This is a 1st sentence.", "This is the 2nd sentence.", "The end.")
caseflip(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.