powered by
Capitalise words in character vector
simple_cap(x)
Character vector
simple_cap(c("a simple test", "Another-test"))
Run the code above in your browser using DataLab