Guest User

Untitled

a guest
Feb 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. s := “Ó o auê aí, ô!”
  2. for len(s) > 0 {
  3. char, size := utf8.DecodeRune([]byte(s))
  4. fmt.Printf(“%-2c → %3d → Size: %1v byte(s).\n”, char, char, size)
  5. s = s[size:]
  6. }
Add Comment
Please, Sign In to add comment