Different Sets of Printable ASCII Characters
Arguments
- level
one of 1, 2, or 3. Level 1 characters comprise the ten digits 0 to 9 and 26 uppercase letters. Level 2 characters comprise the characters of level 1 as well as 26 lowercase letters. Level 3 characters comprise altogether 88 printable characters.
Examples
printable_chars(1)
#> [1] "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F" "G" "H" "I"
#> [20] "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z"
printable_chars(2)
#> [1] "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F" "G" "H" "I"
#> [20] "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" "a" "b"
#> [39] "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" "t" "u"
#> [58] "v" "w" "x" "y" "z"
printable_chars(3)
#> [1] "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "!" "#" "$" "%" "&" "(" ")" "*" "+"
#> [20] "-" "." "/" ":" "<" "=" ">" "?" "@" "A" "B" "C" "D" "E" "F" "G" "H" "I" "J"
#> [39] "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" "[" "]" "^"
#> [58] "_" "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r"
#> [77] "s" "t" "u" "v" "w" "x" "y" "z" "{" "|" "}" "~"