strs_istitle | R Documentation |
strs_istitle
checks whether each element of a character vector is title
case. This is similar to Python's str.istitle
method.
strs_istitle(string)
string |
A character vector where each element is a string to be checked. |
A logical vector of the same length as string
, indicating whether
each element is in title case.
Python str.istitle() documentation
strs_istitle("This Is Title Case")
strs_istitle("not title case")
strs_istitle("123 Another Example")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.