Seems there's no existing library in javascript that gives "⇕▶︎
" a length of 3 or allows you to split it into 3 parts. :(
-
-
Replying to @increpare
@increpare Check this article by@mathias: https://mathiasbynens.be/notes/javascript-unicode … Also might be worth skimming through his repos: https://github.com/mathiasbynens?tab=repositories …1 reply 0 retweets 0 likes -
Replying to @louroboros
@louroboros ES6 has it built-in: https://mathiasbynens.be/notes/javascript-unicode#accounting-for-astral-symbols … Using a transpiler you can use this today: https://babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&code=const%20string%20%3D%20'%5Cu21D5%5Cu25B6%5Cu%7B1F600%7D'%3B%0A%0Aconst%20parts%20%3D%20%5B...string%5D%3B%0Aconsole.log(parts%2C%20parts.length)%3B … +@increpare1 reply 2 retweets 1 like -
Replying to @mathias
@mathias@louroboros thanks for the reply! your string isn't the same as mine - it's missing some invisible stuff http://tinyurl.com/pstgaz32 replies 0 retweets 0 likes
@mathias @louroboros (invisible stuff that OSX adds when you type emoticons)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.