String.st
changeset 20072 b31532aea435
parent 20070 d1635271cd90
child 20083 196706395bbc
child 20107 53dd0fe694cf
equal deleted inserted replaced
20071:1c3164fc850f 20072:b31532aea435
   544 
   544 
   545 
   545 
   546 
   546 
   547 
   547 
   548 
   548 
   549 !String methodsFor:'Compatibility-VW5.4'!
       
   550 
       
   551 asByteString
       
   552     ^ self asSingleByteString
       
   553 !
       
   554 
       
   555 asGUID
       
   556     "return self as a GUID (or UUID if not present)"
       
   557 
       
   558     GUID notNil ifTrue:[ ^ GUID fromString:self ].
       
   559     ^ self asUUID
       
   560 
       
   561     "
       
   562      '{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}' asGUID
       
   563     "
       
   564 
       
   565     "Modified: / 12-01-2011 / 12:33:58 / cg"
       
   566 ! !
       
   567 
   549 
   568 !String methodsFor:'accessing'!
   550 !String methodsFor:'accessing'!
   569 
   551 
   570 at:index
   552 at:index
   571     "return the character at position index, an Integer.
   553     "return the character at position index, an Integer.