<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jksdaba</author_name>
  <author_url>https://blog.hatena.ne.jp/jksdaba/</author_url>
  <blog_title>記録。</blog_title>
  <blog_url>https://jksdaba.hatenablog.com/</blog_url>
  <categories>
    <anon>java</anon>
    <anon>プログラミング</anon>
    <anon>メモ</anon>
    <anon>文字列</anon>
    <anon>charAt</anon>
    <anon>新人</anon>
  </categories>
  <description>プログラミングメモ。javaで文字列の~番目の文字を取り出したりしたかったので、調べてみた。 charAtメソッドを使えばいいらしい。例 import java.util.*; public class Main { public static void main(String[] args) { String hoge1 = &quot;Hello!&quot;; System.out.println(hoge1.charAt(1)); } } 実行結果 e さらに文字列を順番に確認してカウントしてみた import java.util.*; public class Main { public static …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjksdaba.hatenablog.com%2Fentry%2F2017%2F09%2F23%2F222508&quot; title=&quot;任意の順番の文字列を取り出す - 記録。&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>2017-09-23 22:25:08</published>
  <title>任意の順番の文字列を取り出す</title>
  <type>rich</type>
  <url>https://jksdaba.hatenablog.com/entry/2017/09/23/222508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
