Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dchest
on Oct 24, 2013
|
parent
|
context
|
favorite
| on:
Strings, bytes, runes and characters in Go
Yes, there is: range on a string works on runes by decoding UTF-8.
dsymonds
on Oct 24, 2013
[–]
That has nothing to do with "a string's internal representation". That is just how a range loop is defined/implemented.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: