March 11, 2012
5:03 p.m.
Who is inserting those 'asString'? Well, I suspect it is #testObjects:strings: and it just wear initials sd ;) Nicolas Le 11 mars 2012 17:29, Andreas Wacknitz <a.wacknitz@gmx.de> a écrit :
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