# String

String inherits from ArrayedCollection and defines no instance variables. It has no subclasses.

Strings can contain only Characters. The printOn: representation surrounds the string with single-quotes. When printing a string for display, you should use #nextPutAll: or #displayString instead.
Many special string methods are missing---#asLowercase, comparisons, #substrings, etc.

## Methods defined in String:

### Methods for accessing:

- at: index
- at: index put: value

### Methods for comparing:

- = string
- hash

### Methods for converting:

- asLowercase
- asUppercase

### Methods for copying:

- , collection
- copyFrom: start to: stop
- copyToHeap
- copyToHeap: pointer
- expandedBy: amount

### Methods for printing:

- displayOn: stream
- displayString
- printOn: stream

### Methods for streaming:

- writeStream

Pocket Smalltalk Documentation