see https://github.com/tc39/proposal-intl-segmenter
2019年9月9日 1:25 +0900、Dimitrian Nine のメール:
> Thanks i found same ideas here:
>
> https://esdiscuss.org/topic/string-prototype-symbolat-improved-string-prototype-charat
> https://esdiscuss.org/topic/working-with-grapheme-clusters
>
> But topics
Thanks i found same ideas here:
https://esdiscuss.org/topic/string-prototype-symbolat-improved-string-prototype-charat
https://esdiscuss.org/topic/working-with-grapheme-clusters
But topics was created - 6 years ago... And no news for working on it?
___
There's already `.codePointAt`, and `[...str].length`.
The thing that's really needed more than code points is grapheme clusters;
see https://esdiscuss.org/topic/working-with-grapheme-clusters
On Sun, Sep 8, 2019 at 5:01 AM Dimitrian Nine
wrote:
> Maybe i don't know something, but want to
Maybe i don't know something, but want to proposal idea:
We have emojis and other symbols, that have many codepoints
And 'emoji'.length > 1
My idea that we have something like
'emoji'.symbols - and get array of symbols, where symbol is array of
codepoints
And maybe method SymbolAt
4 matches
Mail list logo