printable_ascii(x)character vectorlogical indicating which elements consist solely of printable ASCII characters.A-Z, a-z, 0-9 and the characters! "" # $ \% & ' ( ) * + , . / : ; < = > ? @ [ ] \\ ^ _ ` { | } ~ -}
Note that this excludes tab (as it is a control character).
# Control characters (like carriage return) are also excluded printable_ascii("abc\r")