Learn R Programming

pystr (version 2.0.0)

pystr_title: Titlecase a string.

Description

Return a titlecased version of the string where words start with an uppercase character and the remaining characters are lowercase.

Usage

pystr_title(str)

Arguments

str
A character vector.

Value

A character vector.

References

https://docs.python.org/3/library/stdtypes.html#str.title

Examples

Run this code
pystr_title("make me pretty!")

Run the code above in your browser using DataLab