On Sun, Feb 28, 2021 at 6:32 AM Marcin Romaszewicz <marc...@gmail.com> wrote:

> - if s is a string, s[0] is a rune

If s is a non-empty string, s[0] is a byte.

> - if r is a rune, string(r) is a 1 character string

If r is a rune, string(r) is a string of 1 or more bytes.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-U-nKCaWrwLkeVu%3D7cR9CTA01J7KOMp_tucMOE7-9tHWQ%40mail.gmail.com.

Reply via email to