Removes from the receiver the characters in a given range.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
The range of characters to delete.
amust not exceed the bounds of the receiver.
This method treats the length of the string as a valid range value that returns an empty string.