func index(AttributedString.Index, offsetByRuns : Int) -> AttributedString.Index
Returns the position of the run offset a given number of runs from a given string index.
func index(AttributedString.Index, offsetByUnicodeScalars : Int) -> AttributedString.Index
Returns the position of the Unicode scalar offset a given distance, measured in Unicode scalars, from a given string index.