powered by
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
str.isalpha()
strs_isalpha(string)
A logical vector of the same length as string, indicating whether each element contains only alphabetical characters.
string
A character vector to be checked.
Python str.isalpha() documentation
strs_isalpha("hello") strs_isalpha("hello123")
Run the code above in your browser using DataLab