Returns the first index in which an element of the collection satisfies the given predicate.
SDK
Framework
func index(where _predicate: (Character) throws -> Bool) rethrows -> String.Index?