• Provides an iterator for tokenizing a string by grapheme clusters.

    Note: This is a naive implementation that fully parses the string then returns the iterator over parsed clusters. A future implementation will implement an immediate mode parser returning cluster by cluster as the string is parsed.

    Parameters

    • str: string

      String to split.

    Returns IterableIterator<string>

    An iterator returning grapheme clusters.