CharacterArray.st
changeset 1434 a317ba02d685
parent 1429 5729275971ae
child 1435 3ee1fde2aa58
equal deleted inserted replaced
1433:8b2eacaea59c 1434:a317ba02d685
  2098     ^ StringCollection from:self "string"
  2098     ^ StringCollection from:self "string"
  2099 
  2099 
  2100     "Modified: 13.5.1996 / 20:36:59 / cg"
  2100     "Modified: 13.5.1996 / 20:36:59 / cg"
  2101 !
  2101 !
  2102 
  2102 
       
  2103 asSymbol
       
  2104     "return a unique symbol with the name taken from my characters.
       
  2105      The receiver must be a singleByte-String; twoByteSymbols are
       
  2106      (currently) not allowed."
       
  2107 
       
  2108     ^ self string asSymbol
       
  2109 
       
  2110     "Created: 22.5.1996 / 15:56:11 / cg"
       
  2111 !
       
  2112 
  2103 asText
  2113 asText
  2104     "return a Text-object (collection of lines) from myself."
  2114     "return a Text-object (collection of lines) from myself."
  2105 
  2115 
  2106     ^ Text fromString:self
  2116     ^ Text fromString:self
  2107 
  2117 
  3870 ! !
  3880 ! !
  3871 
  3881 
  3872 !CharacterArray class methodsFor:'documentation'!
  3882 !CharacterArray class methodsFor:'documentation'!
  3873 
  3883 
  3874 version
  3884 version
  3875     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.91 1996-05-20 08:45:52 cg Exp $'
  3885     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.92 1996-05-22 13:59:30 cg Exp $'
  3876 ! !
  3886 ! !