pystr_istitle: Check if a string is titlecase.

Description Usage Arguments Value References Examples

View source: R/pystr_istitle.R

Description

Return TRUE if the string is a titlecased string and there is at least one character, for example uppercase characters may only follow uncased characters and lowercase characters only cased ones. Return FALSE otherwise.

Usage

1

Arguments

str

A character vector.

Value

A logical vector.

References

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

Examples

1
2
pystr_istitle("I Am A Title")
pystr_istitle("I Am not A Title")

nicolewhite/pystr documentation built on May 23, 2019, 5:09 p.m.