Skip to content

Instantly share code, notes, and snippets.

@c4urself
Created July 1, 2013 22:26
Show Gist options
  • Save c4urself/5905178 to your computer and use it in GitHub Desktop.
Save c4urself/5905178 to your computer and use it in GitHub Desktop.
package main
import (
"os"
)
func main() {
w := os.Args[1]
print(string(w[0]))
print(len(w))
println(string(w[len(w) - 1]))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment