[Pharo-project] bindWith: implementation missing
sabine.knoefel at gmail.com
Wed Jul 11 09:42:13 EDT 2012
it is a helper method to put some strings together.
Instead of using commata, like this
'one: ','1',' two: ','2',' three: ','3'
==>> 'one: 1 two: 2 three: 3'
you use String>>bindWith:with:with:
'one: %1 two: %2 three: %3'
==> 'one: 1 two: 2 three: 3'
It is more readable (and writeable:-)) imho.
I know this from ibm Smalltalk/VisualAge and as far as I remember,
Visual works has it, too.
On Wed, Jul 11, 2012 at 2:59 PM, Stéphane Ducasse
<stephane.ducasse at inria.fr> wrote:
> Hi sabine
> what is bindWith:?
> On Jul 10, 2012, at 4:49 PM, Sabine Knöfel wrote:
>> Hi All,
>> I miss String>>bindWith:
>>>> bindWith: with:
>> in Pharo. Is there a reason for that missing?
>> Has anyone an implementation for me?
>> I dont want to reinvent the wheel ;-)
More information about the Pharo-dev