<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>B-CHAN</author_name>
  <author_url>https://blog.hatena.ne.jp/B-CHAN/</author_url>
  <blog_title>非天マザー by B-CHAN</blog_title>
  <blog_url>https://www.b-chan.jp/</blog_url>
  <categories>
    <anon>プログラム</anon>
  </categories>
  <description>文字列のn番目の文字を取得したい さあ今回もJavaScript学習中に気付いたことの備忘録を書きますよ。 初心者の人、いっしょにがんばりましょう。 今回は、文字列のn番目の文字を取得する方法です。 例えば、 var moji = &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;; と言う変数mojiが定義されているとします。 単にアルファベットのABCが並んでいる文字列です。 この中から、左から5番目の文字だけを取り出すにはどうするでしょうか。 ボクも初心者なので、最初から勉強しています。 もちろん、メソッドを使うんでしょう。 n番目の文字を取り出すメソッドは、ズバリ、 charAt…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.b-chan.jp%2Fentry%2Fprogramming%2Fstring-nth&quot; title=&quot;JavaScriptで文字列のn番目の文字をメソッドを使わずにカンタンに取得する方法 - 非天マザー by B-CHAN&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.user.blog.st-hatena.com/default_entry_og_image/164090/151424731416075</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-04-22 17:26:45</published>
  <title>JavaScriptで文字列のn番目の文字をメソッドを使わずにカンタンに取得する方法</title>
  <type>rich</type>
  <url>https://www.b-chan.jp/entry/programming/string-nth</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
