CharacterArray.st
changeset 12196 5718ecf81f37
parent 12188 0e8bdcb8ab41
child 12316 3e78905d70a9
equal deleted inserted replaced
12195:65f344e48a03 12196:5718ecf81f37
  1257 
  1257 
  1258     ^ self expandPlaceholdersWith:anArrayOfStrings
  1258     ^ self expandPlaceholdersWith:anArrayOfStrings
  1259 
  1259 
  1260     "
  1260     "
  1261      'do you prefer %1 or rather %2 (not talking about %3) ?'
  1261      'do you prefer %1 or rather %2 (not talking about %3) ?'
  1262 	bindWithArguments:#('smalltalk' 'c++' 'c')
  1262         bindWithArguments:#('smalltalk' 'c++' 'c')
       
  1263 
       
  1264      'do you %(what) ?'
       
  1265         bindWithArguments:(Dictionary new at:#'what' put:'understand'; yourself)
  1263     "
  1266     "
  1264 !
  1267 !
  1265 
  1268 
  1266 subStrings
  1269 subStrings
  1267     "return an array consisting of all words contained in the receiver.
  1270     "return an array consisting of all words contained in the receiver.
  2970 
  2973 
  2971     "Modified: / 18.7.1998 / 22:53:08 / cg"
  2974     "Modified: / 18.7.1998 / 22:53:08 / cg"
  2972 !
  2975 !
  2973 
  2976 
  2974 writeStream
  2977 writeStream
       
  2978     "return a stream for writing onto the receiver.
       
  2979      Redefined to return a CharacterWriteStream which automatically checks for the bytesPerCharacter
       
  2980      and replaces the stream-buffer as required."
       
  2981 
  2975     ^ CharacterWriteStream on:self
  2982     ^ CharacterWriteStream on:self
  2976 ! !
  2983 ! !
  2977 
  2984 
  2978 !CharacterArray methodsFor:'copying'!
  2985 !CharacterArray methodsFor:'copying'!
  2979 
  2986 
  5694 ! !
  5701 ! !
  5695 
  5702 
  5696 !CharacterArray class methodsFor:'documentation'!
  5703 !CharacterArray class methodsFor:'documentation'!
  5697 
  5704 
  5698 version
  5705 version
  5699     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.414 2009-10-09 12:12:58 fm Exp $'
  5706     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.415 2009-10-10 12:06:21 cg Exp $'
  5700 !
  5707 !
  5701 
  5708 
  5702 version_CVS
  5709 version_CVS
  5703     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.414 2009-10-09 12:12:58 fm Exp $'
  5710     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.415 2009-10-10 12:06:21 cg Exp $'
  5704 ! !
  5711 ! !
  5705 
  5712 
  5706 CharacterArray initialize!
  5713 CharacterArray initialize!