Character
Character inherits from Object and defines no instance variables. It has no subclasses.
Characters are single extended ASCII characters in the range 0..255.
Character predicate methods (isLetter, etc.) use the PalmOS character functions, so they will work with "extended" characters (characters with value greater than 127).
Characters are not immediate values, but are stored in a special way to save space. See the Pocket Smalltalk whitepaper for details.
Methods defined in Character:
Methods for accessing:
- digitValue
Doesn't work for hex values, yet.
- value
Methods for converting:
- asInteger
- asLowercase
Doesn't work for accented (non-ASCII) characters yet.
- asUppercase
Doesn't work for accented (non-ASCII) characters yet.
Methods for predicates:
- isAlphanumeric
- isControl
- isDigit
- isLetter
- isLowercase
- isPrintable
- isPunctuation
- isVowel
- isWhitespace
Methods for printing:
Methods for private:
- testAttributeBit: bit
Used for the various isFoo methods.
Pocket Smalltalk Documentation