<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktrito33</author_name>
  <author_url>https://blog.hatena.ne.jp/ktrito33/</author_url>
  <blog_title>怠日記</blog_title>
  <blog_url>https://nmk365.hatenablog.jp/</blog_url>
  <categories>
    <anon>VBScript</anon>
  </categories>
  <description>文字列の文字数、バイト数を取得する方法を説明する。文字数の取得文字列の文字数を取得するには Len 関数を使う。Len(string)string には文字列を指定する。関数は文字列の文字数を返す。例：半角でも全角でも同じ文字数が返されるWScript.Echo Len(&quot;Hello World!&quot;) ' → 12 ​ WScript.Echo Len(&quot;Ｈｅｌｌｏ Ｗｏｒｌｄ！&quot;) ' → 12バイト数の取得（Unicode）文字列のバイト数を取得するには LenB 関数を使う。LenB(string)string には文字列を指定する。関数は文字列のバイト数を返す。ただし、シフトJISでは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnmk365.hatenablog.jp%2Fentry%2F20240517%2F1715896800&quot; title=&quot;VBScript - 文字数、バイト数を取得する | Len, LenB 関数 - 怠日記&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>2024-05-17 07:00:00</published>
  <title>VBScript - 文字数、バイト数を取得する | Len, LenB 関数</title>
  <type>rich</type>
  <url>https://nmk365.hatenablog.jp/entry/20240517/1715896800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
