Capitalize a string.

Description

Return a copy of the string with its first character capitalized and the rest lowercased.

Usage

1

Arguments

str

A character vector.

Value

A character vector.

References

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

See Also

pystr_title

Examples

1
pystr_capitalize("ONCE UPON A TIME, ")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.