3 ms·
Yes, there is: range on a string works on runes by decoding UTF-8.
by dchest 13y ago
Yes, there is: range on a string works on runes by decoding UTF-8.
- dsymonds 13y agoThat has nothing to do with "a string's internal representation". That is just how a range loop is defined/implemented.