powered by
x
caseflip flips the case of all characters in a string of text x.
caseflip
caseflip(x)
A string of text (required).
A character vector.
Internally, caseflip uses the letters and LETTERS constants of base R and the chartr function for replacing characters in strings of text.
letters
LETTERS
chartr
capitalize for converting the case of initial letters; chartr for replacing characters in strings of text.
capitalize
Other text objects and functions: Umlaut, capitalize(), cclass, count_chars_words(), count_chars(), count_words(), l33t_rul35, map_text_chars(), map_text_coord(), map_text_regex(), metachar, read_ascii(), text_to_chars(), text_to_sentences(), text_to_words(), transl33t()
Umlaut
capitalize()
cclass
count_chars_words()
count_chars()
count_words()
l33t_rul35
map_text_chars()
map_text_coord()
map_text_regex()
metachar
read_ascii()
text_to_chars()
text_to_sentences()
text_to_words()
transl33t()
# NOT RUN { x <- c("Hello world!", "This is a 1st sentence.", "This is the 2nd sentence.", "The end.") caseflip(x) # }
Run the code above in your browser using DataLab