Skip to contents

Capitalise first letters of each word to match title format

Usage

str_to_title(str)

Arguments

str

A string

Value

A capitalised string

Examples

str <- "OSLO - BLINDERN"
str_to_title(str)
#> [1] "Oslo - Blindern"