Next: , Previous: , Up: String   [Index]


1.158.4 String: basic

, aString

Answer a new instance of an ArrayedCollection containing all the elements in the receiver, followed by all the elements in aSequenceableCollection

= aCollection

Answer whether the receiver’s items match those in aCollection

indexOf: anElement startingAt: anIndex

Answer the first index > anIndex which contains anElement. Invoke exceptionBlock and answer its result if no item is found

indexOf: anElement startingAt: anIndex ifAbsent: exceptionBlock

Answer the first index > anIndex which contains anElement. Invoke exceptionBlock and answer its result if no item is found