<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>sliceを使えばええじゃろ。 そもそもsliceはsliceメソッド - Stringクラス - JavaScript入門 文字列の中から開始位置から終了位置までの部分文字列を取り出し新しい文字 列として返します。 とあるし。 var str = &quot;けいおん見てたらオーガス02を見たくなった&quot; console.log(str.slice(-1)); // た console.log(str.slice(0, 1)); // け console.log(str.slice(0, 2)); // けい console.log(str.slice(0, 3)); // けいお console.lo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20121225%2F1356369935&quot; title=&quot;文字列の最後の文字を取得する - by shigemk2&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>2012-12-25 02:25:35</published>
  <title>文字列の最後の文字を取得する</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20121225/1356369935</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
