Next: , Previous: Character-built ins, Up: Character


1.28.7 Character: coercion methods

* aNumber
Returns a String with aNumber occurrences of the receiver.


asLowercase
Returns self as a lowercase character if it's an uppercase letter, otherwise returns the character unchanged.


asString
Returns the character self as a string. Only valid if the character is between 0 and 255.


asSymbol
Returns the character self as a symbol.


asUnicodeString
Returns the character self as a Unicode string.


asUppercase
Returns self as a uppercase character if it's an lowercase letter, otherwise returns the character unchanged.