Skip to content

Instantly share code, notes, and snippets.

@cipepser
Created December 29, 2016 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cipepser/edcd4efc4d726baa40b331b7e5266e9b to your computer and use it in GitHub Desktop.
Save cipepser/edcd4efc4d726baa40b331b7e5266e9b to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
)
func main() {
var s string = "パタトクカシーー"
t := []rune(s)
fmt.Println(string(t[1]) + string(t[3]) + string(t[5]) + string(t[7]))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment