Removes and returns the character at the specified position.
The position of the character to remove.
i must be a valid index of the string that is not equal to the string’s end index.
The character that was removed.
All the elements following
i are moved to close the gap. This example removes the hyphen from the middle of a string.
Calling this method invalidates any existing indices for use with this string.
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.