March 11, 2012
4:29 p.m.
Am 11.03.2012 um 16:38 schrieb Stéphane Ducasse:
'abc' replaceAll: $a asString with: $z asString. 'abc'
| s | s := 'abc'. s replaceAll: $a asString with: $z asString. s
'abc'
while the finder is telling me
'abc' replaceAll: $a asString with: $z asString. 'zbc'
quite confusingâ¦
stef
My 1.4 image does not contain replaceAll:with:, but only copyReplaceAll:with:. And that works as expected. (Aren't Strings immutable nowadays?). Regards, Andreas