2 summary::ascii character
6 Chars may be written as literals using the $ sign. For example $a, $b, $c.
7 See link::Reference/Literals::
9 Chars may be created from link::Classes/Integer::s using the methods link::Classes/Integer#-asAscii:: and link::Classes/Integer#-asDigit::.
13 subsection::conversion
17 returns:: the integer ascii value of a Char.
21 returns:: an integer value from 0 to 9 for chars $0 to $9, and values 10 to 35 for chars $a to $z
26 returns:: the upper case version of a char. Nonalphabetic chars return themselves.
30 returns:: a lower case version of a char. Nonalphabetic chars return themselves.
36 returns:: whether the char is an alphabetic character.
40 returns:: whether the char is an alphabetic or numeric character.
44 returns:: whether the char is printable.
48 returns:: whether the char is a punctuation character
52 returns:: true if the char is white space.
56 returns:: true if the char is a decimal digit $0 to $9.
60 returns:: true if the char is safe for use as in a filename.
61 excludes the path separators / and :
66 [i,a = i.asAscii,a.isAlphaNum,a.isPrint,a.isPunct,a.isControl].postln;