DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
Strings and Text
Get Character at Index
Get Character at Index
Post Example
Examples in
Go
Get Character at Index in Go
by yhuang
Go
fmt
fmt.Println
package main import ( "fmt" ) func main() { fmt.Println("Char:", "hello"[1]) }