strs_isalpha {strs} | R Documentation |
strs_isalpha
checks whether each element of a character vector contains
only alphabetical characters. It is similar to Python's str.isalpha()
method.
strs_isalpha(string)
string |
A character vector to be checked. |
A logical vector of the same length as string
, indicating whether
each element contains only alphabetical characters.
Python str.isalpha() documentation
strs_isalpha("hello")
strs_isalpha("hello123")