<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fmty_keita</author_name>
  <author_url>https://blog.hatena.ne.jp/fmty_keita/</author_url>
  <blog_title>FROM ME TO YOU</blog_title>
  <blog_url>https://fmty.hateblo.jp/</blog_url>
  <categories>
    <anon>Develop</anon>
  </categories>
  <description>仕事でCSVやらTXTやらのテキストファイルを扱うことが多いのでTextFieldParserメソッドのサンプルを作ってみた。 固定長の場合、FieldWidthsプロパティの文字幅はバイト単位ではなく文字数単位らしい。 使えない… [参照の追加] で Microsoft.VisualBasic.dll の追加を忘れずに。 データ &quot;11111&quot;,&quot;AAAA&quot;&quot;AA&quot; &quot;22222&quot;,&quot;BBBBBB &quot; #&quot;22222&quot;,&quot;BBBBBB &quot; ソース using System; using System.Collections.Generic; using System.Linq; using …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffmty.hateblo.jp%2Fentry%2F2015%2F08%2F11%2F195711&quot; title=&quot;TextFieldParserのサンプルを作ってみた - FROM ME TO YOU&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>2015-08-11 19:57:11</published>
  <title>TextFieldParserのサンプルを作ってみた</title>
  <type>rich</type>
  <url>https://fmty.hateblo.jp/entry/2015/08/11/195711</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
