3 ms·
Don't forget: in 45 min, without bugs
by Ancalagon 4y ago
Don't forget: in 45 min, without bugs
- maerF0x0 4y agooh and do it in Go* ... Good F'ing Luck . Go makes normal string operations tricky due to rune being an alias for int32, ranging a string gives []byte indexes ... https://go.dev/play/p/33jCwNG6Eu6 https://go.dev/play/p/33jCwNG6Eu6
- Tomis02 4y agoIt's a bit sucky but you can use the standard library function "utf8.DecodeRuneInString(a)".