equal
deleted
inserted
replaced
184 with:str3 with:str4 |
184 with:str3 with:str4 |
185 with:str5 with:str6 |
185 with:str5 with:str6 |
186 with:str7) |
186 with:str7) |
187 ! |
187 ! |
188 |
188 |
189 bindWithArguments:anArrayOfStrings |
189 bindWithArguments:argumentsCollection |
190 "return a copy of the receiver, where a '%i' escape |
190 "return a copy of the receiver, where a '%i' escape |
191 is replaced by the corresponding string from the argument array. |
191 is replaced by the corresponding string from the argument array. |
192 'i' may be between 1 and 9 (i.e. a maximum of 9 placeholders is allowed). |
192 'i' may be between 1 and 9 (i.e. a maximum of 9 placeholders is allowed), |
|
193 or %(key); the argumentsCollection must then be a dictionary. |
193 To get an integer-indexed placeHolder followed by another digit, |
194 To get an integer-indexed placeHolder followed by another digit, |
194 or an index > 9, you must use %(digit). |
195 or an index > 9, you must use %(digit). |
195 This has been added for VisualAge compatibility." |
196 This has been added for VisualAge compatibility." |
196 |
197 |
197 ^ self expandPlaceholdersWith:anArrayOfStrings |
198 ^ self expandPlaceholdersWith:argumentsCollection |
198 |
199 |
199 " |
200 " |
200 'do you prefer %1 or rather %2 (not talking about %3) ?' |
201 'do you prefer %1 or rather %2 (not talking about %3) ?' |
201 bindWithArguments:#('smalltalk' 'c++' 'c') |
202 bindWithArguments:#('smalltalk' 'c++' 'c') |
202 |
203 |