<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>LimeCode</author_name>
  <author_url>https://blog.hatena.ne.jp/LimeCode/</author_url>
  <blog_title>和風スパゲティのレシピ</blog_title>
  <blog_url>https://www.limecode.jp/</blog_url>
  <categories>
  </categories>
  <description>文字列の左(先頭)・中・右(末尾)を切り出す方法を解説します。Left・Mid・Right関数を使用します。 基本構文 サンプルコード 解説 InStr関数との組み合わせ 基本構文 ' 左から指定文字数を切り出し Left(対象文字列, 文字数) ' 指定位置から指定文字数を切り出し Mid(対象文字列, 開始位置, 文字数) ' 指定位置から最後まで切り出し Mid(対象文字列, 開始位置) ' 右から指定文字数を切り出し Right(対象文字列, 文字数) サンプルコード Dim 対象文字列 As String 対象文字列 = &quot;ABCDE&quot; Dim 取得文字列 As String ' 左…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.limecode.jp%2Fentry%2Fsyntax%2Fstring-left-mid-right&quot; title=&quot;文字列の左中右を切り出す - Left/Mid/Right関数 - 和風スパゲティのレシピ&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/154743825/1575205807164226</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-07-30 23:54:04</published>
  <title>文字列の左中右を切り出す - Left/Mid/Right関数</title>
  <type>rich</type>
  <url>https://www.limecode.jp/entry/syntax/string-left-mid-right</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
