<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>accs2014</author_name>
  <author_url>https://blog.hatena.ne.jp/accs2014/</author_url>
  <blog_title>もう一度学ぶMS-Access</blog_title>
  <blog_url>https://www.accessdbstudy.net/</blog_url>
  <categories>
    <anon>Access Tips</anon>
  </categories>
  <description>いきなり実例で説明します。 このようなテーブルがあり「型番」列にいくつかのハイフン（-）が含まれています。 各レコードのハイフンのうち3番目のものは、文字列のそれぞれ何文字目に位置しているでしょうか。 Excelの場合はFIND関数とSUBSTITUTE関数による解法がありますが、AccessではInstr関数とReplace関数を用います。 デザインビューです。 次のような列を設けます。 3番目ハイフン位置: InStr(Replace([型番],&quot;-&quot;,&quot;/&quot;,1,2),&quot;-&quot;) 補足しますと、Replace関数により型番列の文字列のうち、左から2番目までのハイフンをスラッシュ（/）に置き…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.accessdbstudy.net%2Fentry%2F20080528%2Fp1&quot; title=&quot;特定の文字のうちn番目のものの文字位置を求める - もう一度学ぶMS-Access&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/a/accs2014/20181027/20181027163930.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-05-28 00:00:00</published>
  <title>特定の文字のうちn番目のものの文字位置を求める</title>
  <type>rich</type>
  <url>https://www.accessdbstudy.net/entry/20080528/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
