substring(with:)
Returns a string object containing the characters of the String that lie within a given range.
Declaration
func substring(with aRange: Range<Self.Index>) -> StringReturns a string object containing the characters of the String that lie within a given range.
func substring(with aRange: Range<Self.Index>) -> String