Login  Register

Re: [Pharo-users] String with: Character cr

Posted by Marcus Denker-4 on Jan 25, 2010; 3:19pm
URL: https://forum.world.st/Pharo-users-String-with-Character-cr-tp1310676p1310678.html


On Jan 25, 2010, at 4:16 PM, Johan Fabry wrote:

> Hi all,
>
> I am bulding some Strings to have nice textual representations of some  
> of my objects. What is happening a lot is code like this:
> self foo , ' in ', (String with: Character cr), self bar.
>
> Is there some syntactic sugar for String with: Character cr to make  
> these things nicer ?


 Character cr asString ?

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users