substring(from:)

Returns a new string containing the characters of the String from the one at a given index to the end.

Declaration

func substring(from index: Self.Index) -> String