Next: , Previous: Stream, Up: Base classes


1.155 String

Defined in namespace Smalltalk
Superclass: CharacterArray
Category: Collections-Text
My instances represent 8-bit character strings. Being a very common case, they are particularly optimized.

Note that, if you care about multilingualization, you should treat String only as an encoded representation of a UnicodeString. The I18N package adds more Unicode-friendliness to the system so that encoding and decoding is performed automatically in more cases. In that case, String represents a case when the encoding is either unknown, irrelevant, or assumed to be the system default.