{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2017%2F05%2F12%2F233300\" title=\"GoLang\u306e\u6587\u5b57\u5217\u5207\u308a\u51fa\u3057\u306fRuby\u3068\u540c\u69d8\u3001\u30b3\u30ed\u30f3\u8a18\u6cd5\u304c\u4f7f\u3048\u308b - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","url":"https://shuzo-kino.hateblo.jp/entry/2017/05/12/233300","categories":["golang"],"height":"190","width":"100%","blog_url":"https://shuzo-kino.hateblo.jp/","blog_title":"Bye Bye Moore","image_url":null,"title":"GoLang\u306e\u6587\u5b57\u5217\u5207\u308a\u51fa\u3057\u306fRuby\u3068\u540c\u69d8\u3001\u30b3\u30ed\u30f3\u8a18\u6cd5\u304c\u4f7f\u3048\u308b","published":"2017-05-12 23:33:00","author_name":"shuzo_kino","provider_url":"https://hatena.blog","description":"GoLang\u306e\u6587\u5b57\u5217\u5207\u308a\u51fa\u3057\u306fRuby\u3068\u540c\u69d8\u3001\u30b3\u30ed\u30f3\u8a18\u6cd5\u304c\u4f7f\u3048\u307e\u3059\u3002 \u5b9f\u969b\u306e\u3068\u3053\u308d package main import ( \"fmt\" ) func main() { baseString := \"abcdef\" // Result:: abc. fmt.Printf(\"%v.\\n\", baseString[3:]) // Result:: def. fmt.Printf(\"%v.\\n\", baseString[:3]) // Result:: a. fmt.Printf(\"%v.\\n\", baseString[1:2]) } \u5b9f\u884c\u3059\u308b\u3068\u3001\u3053\u3093\u306a\u611f\u3058 $ go run stringsamp\u2026","version":"1.0","author_url":"https://blog.hatena.ne.jp/shuzo_kino/"}