Intl.Segmenter
Newly available since 2024-04-16
The Intl.Segmenter
API creates a locale-aware text splitter that can separate a string into meaningful graphemes, words, or sentences.
To learn more, see
Intl.Segmenter at MDN.
Compatibility
- Chrome 87 Released on 2020-11-17
- Chrome Android 87 Released on 2020-11-17
- Edge 87 Released on 2020-11-19
- Firefox 125 Released on 2024-04-16
- Firefox for Android 125 Released on 2024-04-16
- Safari 14.1 Released on 2021-04-26
- Safari on iOS 14.5 Released on 2021-04-26
Specifications
- ECMAScript Internationalization API Specification (#segmenter-objects), from TC39 (Ecma International).