<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>golang</anon>
    <anon>memo</anon>
  </categories>
  <description>stringsパッケージに文字列処理のための関数がいろいろ用意されている http://golang.org/pkg/strings/ 適当によく使いそうな関数を動かしてみた main.go package main import ( &quot;fmt&quot; &quot;strings&quot; ) func main() { // 文字列長 fmt.Println(len(&quot;abcdefg&quot;)) // 7 fmt.Println(len(&quot;あいうえお&quot;)) // 15 fmt.Println(len(strings.Split(&quot;あいうえお&quot;,&quot;&quot;))) // 5 // 文字列を含むかどうかの判定 fmt.Println…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120917%2F1347892585&quot; title=&quot;Go言語のstringsパッケージを試してみた - メモ置き場&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-09-17 23:36:25</published>
  <title>Go言語のstringsパッケージを試してみた</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20120917/1347892585</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
