func index(AttributedString.Index, offsetByCharacters : Int) -> AttributedString.Index
Returns the position of a character offset a given distance, measured in characters, from a given string index.
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.