Character

Inherits from: Object

Class Methods

primitives

class cr

Return the carriage return character.

class lf

Return the line feed character.

class newline

Return the newline character (same as lf).

class space

Return the space character.

class tab

Return the tab character.

class value:

Create a character from a Unicode code point.

Instance Methods

primitives

<

Return true if the receiver sorts before other.

=

Return true if the receiver equals other.

>

Return true if the receiver sorts after other.

asLowercase

Return the lowercase version of this character.

asString

Return a single-character string.

asUppercase

Return the uppercase version of this character.

hash

Return a hash value for the receiver.

isDigit

Return true if this character is a digit (0-9).

isLetter

Return true if this character is a letter.

isLowercase

Return true if this character is lowercase.

isUppercase

Return true if this character is uppercase.

isWhitespace

Return true if this character is whitespace.

printString

Return a printable representation (e.g., '$a').

value

Return the Unicode code point as an integer.

uncategorized

asCharacter
isAlphaNumeric
isCharacter
isSeparator
isVowel
printOn: