<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに ゼロ幅分割 ゼロ幅 (zero-length) とは JDK21 の String.splitWithDelimiters() はじめに 以下のような文字列を : で分割する。 var string = &quot;aa:bb::cc&quot;; split を使うと : で分割され、分割文字である : は含まれない。 string.split(&quot;:&quot;); // Arrays.deepToString(string.split(&quot;:&quot;)); // -&gt; [aa, bb, , cc] ゼロ幅分割 改行文字で分割し、分割後には改行文字を残したいようなケースでは、ゼロ幅マッチ(zero-length mat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2023%2F06%2F02%2F090000&quot; title=&quot;区切り文字を含めて文字列分割する - A Memorandum&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>https://cdn-ak.f.st-hatena.com/images/fotolife/N/Naotsugu/20230518/20230518184509.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-02 09:00:00</published>
  <title>区切り文字を含めて文字列分割する</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/2023/06/02/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
