♻️ Reblog of
Stefan Judis (stefan@front-end.social
)
Today I learned, you can use `Intl.Segmenter` to split strings into words, sentences and even graphemes. 😲
🔗 https://stefanjudis.com/today-i-learned/how-to-split-javascript-strings-with-intl-segmenter/
Kudos to @rauschma who briefly touched this topic in one of his articles. 🙇♂️