CharacterArray.st
changeset 14122 36f1fe4ddd0f
parent 14054 48d3fab77bd9
child 14137 1eb1b4a3f364
equal deleted inserted replaced
14121:fea92d19d1a4 14122:36f1fe4ddd0f
  4272 
  4272 
  4273     "Created: / 08-03-2012 / 03:11:11 / cg"
  4273     "Created: / 08-03-2012 / 03:11:11 / cg"
  4274 ! !
  4274 ! !
  4275 
  4275 
  4276 
  4276 
       
  4277 
  4277 !CharacterArray methodsFor:'padded copying'!
  4278 !CharacterArray methodsFor:'padded copying'!
  4278 
  4279 
  4279 centerPaddedTo:newSize
  4280 centerPaddedTo:newSize
  4280      "return a new string consisting of the receivers characters,
  4281      "return a new string consisting of the receivers characters,
  4281      plus spaces up to length and center the receivers characters in
  4282      plus spaces up to length and center the receivers characters in
  4792     "
  4793     "
  4793 
  4794 
  4794     "Created: 12.5.1996 / 20:09:29 / cg"
  4795     "Created: 12.5.1996 / 20:09:29 / cg"
  4795     "Modified: 17.4.1997 / 12:50:23 / cg"
  4796     "Modified: 17.4.1997 / 12:50:23 / cg"
  4796 ! !
  4797 ! !
       
  4798 
  4797 
  4799 
  4798 !CharacterArray methodsFor:'special string converting'!
  4800 !CharacterArray methodsFor:'special string converting'!
  4799 
  4801 
  4800 expandPlaceholdersWith:argArrayOrDictionary
  4802 expandPlaceholdersWith:argArrayOrDictionary
  4801     "return a copy of the receiver, where all %i escapes are
  4803     "return a copy of the receiver, where all %i escapes are
  5958       and:[ self conform: [ :chr | chr isLetterOrDigit or:[chr == $_] ]]
  5960       and:[ self conform: [ :chr | chr isLetterOrDigit or:[chr == $_] ]]
  5959 
  5961 
  5960     "Modified: / 13-09-2006 / 11:35:15 / cg"
  5962     "Modified: / 13-09-2006 / 11:35:15 / cg"
  5961 !
  5963 !
  5962 
  5964 
       
  5965 isUnicode16String
       
  5966     ^ false
       
  5967 !
       
  5968 
       
  5969 isUnicode32String
       
  5970     ^ false
       
  5971 !
       
  5972 
       
  5973 isUnicodeString
       
  5974     ^ false
       
  5975 !
       
  5976 
  5963 isValidSmalltalkIdentifier
  5977 isValidSmalltalkIdentifier
  5964     "return true, if the receivers characters make up a valid smalltalk identifier"
  5978     "return true, if the receivers characters make up a valid smalltalk identifier"
  5965 
  5979 
  5966     |scanner tok|
  5980     |scanner tok|
  5967 
  5981 
  6064 ! !
  6078 ! !
  6065 
  6079 
  6066 !CharacterArray class methodsFor:'documentation'!
  6080 !CharacterArray class methodsFor:'documentation'!
  6067 
  6081 
  6068 version
  6082 version
  6069     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.470 2012-03-08 03:09:27 cg Exp $'
  6083     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.471 2012-04-24 14:56:08 stefan Exp $'
  6070 !
  6084 !
  6071 
  6085 
  6072 version_CVS
  6086 version_CVS
  6073     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.470 2012-03-08 03:09:27 cg Exp $'
  6087     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.471 2012-04-24 14:56:08 stefan Exp $'
  6074 ! !
  6088 ! !
  6075 
  6089 
  6076 CharacterArray initialize!
  6090 CharacterArray initialize!