pystr_isalpha: Check if a string is alphabetic.

Description

Return TRUE if all characters in the string are alphabetic and there is at least one character, FALSE otherwise.

Usage

1

Arguments

str

A character vector.

Value

A logical vector.

References

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

See Also

pystr_isalnum, pystr_isnumeric

Examples

1
2
3
4
pystr_isalpha("abc")
pystr_isalpha("abc123")
pystr_isalpha("abc!")
pystr_isalpha(c("one", "2", "three!"))

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

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