Intl.Segmenter.prototype.segment()

Getter function that segments a string according to the locale and granularity of this Intl.Segmenter object.