Next: , Previous: , Up: CharacterArray   [Index]


1.29.6 CharacterArray: converting

asByteArray

Return the receiver, converted to a ByteArray of ASCII values

asClassPoolKey

Return the receiver, ready to be put in a class pool dictionary

asGlobalKey

Return the receiver, ready to be put in the Smalltalk dictionary

asInteger

Parse an Integer number from the receiver until the input character is invalid and answer the result at this point

asLowercase

Returns a copy of self as a lowercase CharacterArray

asNumber

Parse a Number from the receiver until the input character is invalid and answer the result at this point

asPoolKey

Return the receiver, ready to be put in a pool dictionary

asString

But I already am a String! Really!

asSymbol

Returns the symbol corresponding to the CharacterArray

asUnicodeString

Answer a UnicodeString whose character’s codes are the receiver’s contents This is not implemented unless you load the I18N package.

asUppercase

Returns a copy of self as an uppercase CharacterArray

fileName

But I don’t HAVE a file name!

filePos

But I don’t HAVE a file position!

isNumeric

Answer whether the receiver denotes a number

trimSeparators

Return a copy of the reciever without any spaces on front or back. The implementation is protected against the ‘all blanks’ case.