<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>null</anon>
  </categories>
  <description>文字列を頭から比べて、同じところだけを取出したいとき &quot;/home/takuya/2010-09-10&quot; &amp; &quot;/home/takuya/test.rb&quot; #=&gt; &quot;/home/takuya/&quot; のようなことがしたいわけです．何に使うか分らないけど，URLの共通部分や，ファイルのパスの頭の部分で一致する箇所を調べたいわけです URLの共通部分を求める &quot;http://d.hatena.ne.jp/takuya_1st/archive?word=ruby&quot; &amp; &quot;http://d.hatena.ne.jp/takuya_1st/searchdiary?word=ruby&quot; #=&gt; &quot;http:/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F20110909%2F1315595245&quot; title=&quot;文字列の差をから共通部分を&amp;amp;で求めてみる String#&amp;amp; - それマグで！&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>2011-09-09 04:07:25</published>
  <title>文字列の差をから共通部分を&amp;で求めてみる String#&amp;</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/20110909/1315595245</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
