<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ch3cooh393</author_name>
  <author_url>https://blog.hatena.ne.jp/ch3cooh393/</author_url>
  <blog_title>酢ろぐ！</blog_title>
  <blog_url>https://blog.ch3cooh.jp/</blog_url>
  <categories>
    <anon>iPhone</anon>
  </categories>
  <description>文字列操作する方法を手癖で書けるほどSwiftに馴染んでいないので、いつでも見返せるようにメモしておきます。 文字列同士の結合 let str = &quot;daru&quot; + &quot;yanagi&quot; println(str) var str = &quot;daru&quot; str += &quot;yana&quot; str += &quot;gi&quot; println(str) 区切り文字を使って文字列を分割する split関数を使って分割します。 let source = &quot;daruyanagi,shibayan,daisuke_nomura&quot; let words = split(source) { $0 == &quot;,&quot; } println(words…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ch3cooh.jp%2Fentry%2F20150530%2F1432950699&quot; title=&quot;Swiftを使って文字列操作する - 酢ろぐ！&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>http://f.st-hatena.com/images/fotolife/c/ch3cooh393/20150504/20150504120714.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-05-30 10:51:39</published>
  <title>Swiftを使って文字列操作する</title>
  <type>rich</type>
  <url>https://blog.ch3cooh.jp/entry/20150530/1432950699</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
