Next: , Previous: String-basic, Up: String


1.155.5 String: built ins

asCData: aCType
Convert the receiver to a CObject with the given type


at: anIndex
Answer the index-th indexed instance variable of the receiver


at: anIndex put: value
Store value in the index-th indexed instance variable of the receiver


basicAt: anIndex
Answer the index-th indexed instance variable of the receiver. This method must not be overridden, override at: instead


basicAt: anIndex put: value
Store value in the index-th indexed instance variable of the receiver This method must not be overridden, override at:put: instead


hash
Answer an hash value for the receiver


replaceFrom: start to: stop with: aString startingAt: replaceStart
Replace the characters from start to stop with new characters whose ASCII codes are contained in aString, starting at the replaceStart location of aString


replaceFrom: start to: stop withByteArray: byteArray startingAt: replaceStart
Replace the characters from start to stop with new characters whose ASCII codes are contained in byteArray, starting at the replaceStart location of byteArray


similarityTo: aString
Answer a number that denotes the similarity between aString and the receiver. 0 indicates equality, negative numbers indicate some difference. Implemented as a primitive for speed.


size
Answer the size of the receiver