<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kamekiti</author_name>
  <author_url>https://blog.hatena.ne.jp/Kamekiti/</author_url>
  <blog_title>NSBlogger</blog_title>
  <blog_url>https://nsblogger.hatenablog.com/</blog_url>
  <categories>
    <anon>swift</anon>
  </categories>
  <description>空文字のチェック 「isEmpty」を使えばOK。空ならtrueが返ってきます。 var empty = &quot;&quot; var empty2 = String() //Empty. if empty.isEmpty{ println(&quot;Empty.&quot;) }else{ println(&quot;Not Empty.&quot;) } //Empty. if empty2.isEmpty{ println(&quot;Empty.&quot;) }else{ println(&quot;Not Empty.&quot;) } 文字列の連結 「+」でつなげてあげるだけ。 NSMutableString使ったり、[NSString stringWithFormat:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnsblogger.hatenablog.com%2Fentry%2F2014%2F06%2F09%2Fswift_string&quot; title=&quot;Swiftの文字列操作まとめ - NSBlogger&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>2014-06-09 00:46:22</published>
  <title>Swiftの文字列操作まとめ</title>
  <type>rich</type>
  <url>https://nsblogger.hatenablog.com/entry/2014/06/09/swift_string</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
