Strings

concatenate character vectors with no space between elements

paste0()

{base}

change text to upper case

str_to_title()

{stringr}

change text to lower case

str_to_lower()

{stringr}

detect presence of pattern in string

str_detect()

{stringr}

replace all matched patterns in a string

str_replace_all()

{stringr}

format and interpolate a string with glue

str_glue()

{stringr}

extract parts of a string

str_sub()

{stringr}

combines two or more strings

str_c()

{stringr}

returns number of characters in a string

str_length()

{stringr}

extract elements that match pattern

str_subset()

{stringr}

change text to sentence case

str_to_sentence()

{stringr}

replace first matched pattern in a string

str_replace()

{stringr}

concatenate character vectors with space between elements

paste()

{base}

split string into pieces

str_split()

{stringr}

change text to upper case

str_to_upper()

{stringr}

extract first matching patterns in a string

str_extract()

{stringr}

The end!