Who is inserting those 'asString'?
Well, I suspect it is #testObjects:strings: and it just wear initials sd ;)
Nicolas
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