$F, $Q $U $E $N $T $i $NCharacter space, Character tab, Character cr
Delimited by '
'eclair au chocolat' 'eclair au chocolat' size
> 18
Character space split: 'eclair au chocolat'
> an OrderedCollection('eclair' 'au' 'chocolat') 'eclair au chocolat' at: 1
> $e'eclair au chocolat' do: [:each | Transcript show: each ; cr ]'L''eclair au chocolat' 'L''eclair au chocolat' at: 2
> $'
'L''eclair au chocolat' at: 3
> $e| str |
str := 'Tiramisu'.
str at: str size
> $u
str last
> $u#mac asString
> 'mac'12 printString
>'12'String with: $A'Calvin' , ' & ', 'Hobbes'
> 'Calvin & Hobbes'
Message comma #, copies strings so multiple concatenations can generate useless intermediate versions
'Calvin' , ' & ', 'Hobbes'
> 'Calvin & Hobbes'String streamContents: [ :s |
s
nextPutAll: 'Calvin';
nextPutAll: ' & ';
nextPutAll: 'Hobbes' ]#calvin is a symbol##class #mac #at:put: #+ #accept:Two symbols with the same representation points to the same object
#calvin == #calvin
> true Two strings with the same representation may be different objects depending on compiler optimisations
IdentityDictionary)/