<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dayflower</author_name>
  <author_url>https://blog.hatena.ne.jp/dayflower/</author_url>
  <blog_title>daily dayflower</blog_title>
  <blog_url>https://dayflower.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>昔々はまったことあるけど，久々に Perl 使ったらはまったので記念*1に。 sub show { print join q{, }, @_; print &quot;\n&quot;; } # デフォルトでは後続する空フィールドは削除される show split(/:/, 'a:b:c:::'); ### =&gt; a, b, c # 第3引数を正数で指定すると，「最大で」そのフィールド数までしか分割しない show split(/:/, 'a:b:c:::', 2); ### =&gt; a, b:c::: # 「最大で」なので，存在するフィールド数以上を指定しても空で埋めたりはしない show split(/:/, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20101105%2F1288942018&quot; title=&quot; split はデフォルトで後続する空フィールドを削除する - daily dayflower&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>2010-11-05 16:26:58</published>
  <title> split はデフォルトで後続する空フィールドを削除する</title>
  <type>rich</type>
  <url>https://dayflower.hatenablog.com/entry/20101105/1288942018</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
