package main import "fmt" func main() { str := "ĺ­—Hello" substr := str[:6] fmt.Println(substr) }