Generic Instance Method
Removes the elements in the specified subrange from the collection.
The range of the collection to be removed. The bounds of the range must be valid indices of the collection.
All the elements following the specified position are moved to close the gap. This example removes two elements from the middle of an array of measurements.
Calling this method may invalidate any existing indices for use with this collection.
Complexity: O(n), where n is the length of the collection.
R : RangeExpression
Self.Index == R.Bound
func filter((Character) -> Bool)
Returns a new collection of the same type containing, in order, the elements of the original collection that satisfy the given predicate.
Returns a subsequence containing all but the first element of the sequence.
Returns a subsequence containing all but the given number of initial elements.
Returns a subsequence containing all but the last element of the sequence.
Returns a subsequence containing all but the specified number of final elements.