<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xmldtp</author_name>
  <author_url>https://blog.hatena.ne.jp/xmldtp/</author_url>
  <blog_title>ウィリアムのいたずらの、まちあるき、たべあるきーPART2</blog_title>
  <blog_url>https://xmldtp.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaとWeb</anon>
  </categories>
  <description>Javaで基本操作シリーズその６、今回は、文字列操作の２回目。実際の文字列操作になります。 ■文字列の比較 これは、よく言われるように、=でなく、equalsメソッドを使うことになります。 もちろん、比較のcompareToを使って、０だったら、一致でもＯＫです。 ちなみに、s1.compareTo(&quot;abcdefg&quot;)とやっとき、 s1が&quot;abcdefg&quot;より小さければ、マイナスの値 s1が&quot;abcdefg&quot;より大きければ、プラスの値 が返ります。 ■文字列操作 文字列の操作は、Stringのメソッドで行うことになります ・１文字をcharで取り出す charAt ・バイト配列をとってくる …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxmldtp.hatenadiary.org%2Fentry%2F2b479deeb3d540d9082764a0b996453a&quot; title=&quot;Javaで基本操作（その６）：文字列操作　その２（文字列操作） - ウィリアムのいたずらの、まちあるき、たべあるきーPART2&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/x/xmldtp/20250813/20250813081625.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-08-30 11:31:48</published>
  <title>Javaで基本操作（その６）：文字列操作　その２（文字列操作）</title>
  <type>rich</type>
  <url>https://xmldtp.hatenadiary.org/entry/2b479deeb3d540d9082764a0b996453a</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
