<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://www.aipacommander.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Pythonでいうsplit、PHPでいうexplodeとかの処理をJavaだったらどうやるの？って話。 答えはsplitでした。 String str = &quot;blue_fire_yellow&quot;; String[] splitStr = str.split(&quot;_&quot;, 0); split（の第一引数）で分割すると、値が配列で取得することができます。第二引数で分割した配列の取得したい要素を指定することができます。 全部取得したい場合は0にしてあげましょう。また0を指定すると配列化した時に空白文字の場合は取得しません。取得したい場合は-1を指定します。 import java.util.Arrays…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2015%2F07%2F14%2F125953&quot; title=&quot;【Java】文字列を特定の文字で分割する方法 - ITの隊長のブログ&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>2015-07-14 12:59:53</published>
  <title>【Java】文字列を特定の文字で分割する方法</title>
  <type>rich</type>
  <url>https://www.aipacommander.com/entry/2015/07/14/125953</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
