<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tiri_tomato</author_name>
  <author_url>https://blog.hatena.ne.jp/tiri_tomato/</author_url>
  <blog_title>チリペヂィア</blog_title>
  <blog_url>https://tiri-tomato.hatenadiary.jp/</blog_url>
  <categories>
    <anon>.NET</anon>
  </categories>
  <description>小ネタその１。文字列からファジーに空白削除。 System.String test = &quot;\t\t \n\r\thoge\t &quot;; // 改行やら全角スペースも混じってる test = System.String.Join(System.String.Empty, test.Split(null)); //hogeだけになる Splitはセパレータにnull指定すると空白文字全般で分割するので、それをString.EmptyでJoinするだけ。わざわざSplitするあたりパフォーマンスは良くない気がしますが、とりあえず何でも良いならこんなもんではないでしょうか。MSDNも詳しくは書いてないけど…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftiri-tomato.hatenadiary.jp%2Fentry%2F20130622%2F1371863568&quot; title=&quot; 小ネタ日記 - チリペヂィア&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>2013-06-22 10:12:48</published>
  <title> 小ネタ日記</title>
  <type>rich</type>
  <url>https://tiri-tomato.hatenadiary.jp/entry/20130622/1371863568</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
