How to get an \"E\" output rather than 69?
package main import \"fmt\" func main() { fmt.Print(\"HELLO\"[1]) }
Does Golang have funct
How about this?
fmt.Printf("%c","HELLO"[1])
As Peter points out, to allow for more than just ASCII:
fmt.Printf("%c", []rune("HELLO")[1])