equal
deleted
inserted
replaced
2870 " |
2870 " |
2871 ! |
2871 ! |
2872 |
2872 |
2873 expandPlaceholdersWith:argArray |
2873 expandPlaceholdersWith:argArray |
2874 "return a copy of the receiver, where all %i escapes are |
2874 "return a copy of the receiver, where all %i escapes are |
2875 replaced by corresponding arguments from the argArray. |
2875 replaced by corresponding arguments' printStrings from the argArray. |
2876 I.e. 'hello %1; how is %2' expandPlaceholdersWith:#('world' 'this') results |
2876 I.e. 'hello %1; how is %2' expandPlaceholdersWith:#('world' 'this') results |
2877 in the new string 'hello world; how is this'. |
2877 in the new string 'hello world; how is this'. |
2878 To get a '%' character, use a '%%'-escape. |
2878 To get a '%' character, use a '%%'-escape. |
2879 See also bindWith:... for VisualAge compatibility." |
2879 See also bindWith:... for VisualAge compatibility." |
2880 |
2880 |
2905 |
2905 |
2906 " |
2906 " |
2907 'hello %1' expandPlaceholdersWith:#('world') |
2907 'hello %1' expandPlaceholdersWith:#('world') |
2908 'hello %1; how is %2' expandPlaceholdersWith:#('world' 'this') |
2908 'hello %1; how is %2' expandPlaceholdersWith:#('world' 'this') |
2909 'hello %2; how is %1' expandPlaceholdersWith:#('world' 'this') |
2909 'hello %2; how is %1' expandPlaceholdersWith:#('world' 'this') |
2910 " |
2910 '%1 plus %2 gives %3 ' expandPlaceholdersWith:#(4 5 9) |
2911 |
2911 " |
2912 "Modified: 26.2.1996 / 20:29:24 / cg" |
2912 |
|
2913 "Modified: 27.4.1996 / 11:58:36 / cg" |
2913 ! |
2914 ! |
2914 |
2915 |
2915 withCRs |
2916 withCRs |
2916 "return a new string consisting of receivers characters |
2917 "return a new string consisting of receivers characters |
2917 with all \-characters replaced by cr-characters." |
2918 with all \-characters replaced by cr-characters." |
3670 ! ! |
3671 ! ! |
3671 |
3672 |
3672 !CharacterArray class methodsFor:'documentation'! |
3673 !CharacterArray class methodsFor:'documentation'! |
3673 |
3674 |
3674 version |
3675 version |
3675 ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.78 1996-04-25 16:17:40 cg Exp $' |
3676 ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.79 1996-04-27 09:59:07 cg Exp $' |
3676 ! ! |
3677 ! ! |