4 ms·
It's 1 in elixir which measures graphemes by default. iex(3)> String.length(" ") 1 Edit: looks like HN doesn't support that emoji in code blocks, at least
by chefandy 3y ago
It's 1 in elixir which measures graphemes by default.
iex(3)> String.length(" ")
1
Edit: looks like HN doesn't support that emoji in code blocks, at least.
- jnsaff2 3y agoit's also 5 if you like: > length(' ') Which is: [129318, 127996, 8205, 9794, 65039]