Next: SequenceableCollection-enumerating, Previous: SequenceableCollection-concatenating, Up: SequenceableCollection [Index]
Answer a new collection holding all the elements of the receiver after the first occurrence of anObject, up to the last.
Answer a new collection holding all the elements of the receiver after the last occurrence of anObject, up to the last.
Answer a new collection containing all the items in the receiver from the start-th.
Answer a new collection containing all the items in the receiver from the start-th and to the stop-th
Answer a new collection in which all the sequences matching oldSubCollection are replaced with newSubCollection
Answer a new collection of the same class as the receiver that contains the same elements as the receiver, in the same order, except for elements from index ‘start’ to index ‘stop’.
If start < stop, these are replaced by the contents of the replacementCollection. Instead, If start = (stop + 1), like in ‘copyReplaceFrom: 4 to: 3 with: anArray’, then every element of the receiver will be present in the answered copy; the operation will be an append if stop is equal to the size of the receiver or, if it is not, an insert before index ‘start’.
Answer a new collection of the same class as the receiver that contains the same elements as the receiver, in the same order, except for elements from index ‘start’ to index ‘stop’.
If start < stop, these are replaced by stop-start+1 copies of anObject. Instead, If start = (stop + 1), then every element of the receiver will be present in the answered copy; the operation will be an append if stop is equal to the size of the receiver or, if it is not, an insert before index ‘start’.
Answer a new collection holding all the elements of the receiver from the first up to the first occurrence of anObject, excluded.
Answer a new collection holding all the elements of the receiver from the first up to the last occurrence of anObject, excluded.
Answer a new collection holding all the elements of the receiver after the first occurrence of anObject, up to the last.
Next: SequenceableCollection-enumerating, Previous: SequenceableCollection-concatenating, Up: SequenceableCollection [Index]