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.
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
MDN docs
Specifications
- ECMAScript Internationalization API Specification, from TC39 (Ecma International).
BCD data
- javascript.builtins.Intl.Segmenter
- javascript.builtins.Intl.Segmenter.Segmenter
- javascript.builtins.Intl.Segmenter.resolvedOptions
- javascript.builtins.Intl.Segmenter.segment
- javascript.builtins.Intl.Segmenter.supportedLocalesOf
- javascript.builtins.Intl.Segments
- javascript.builtins.Intl.Segments.@@iterator
- javascript.builtins.Intl.Segments.containing