<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>数値を様々な書式でフォーマットで出力 * string.Format()を使用する 例1-1：0埋めのファイル名を指定したい場合 int num = 12; string str = string.Format(&quot;FileName{0:D6}.txt&quot;, num); // str = &quot;FileName000012.txt&quot;; 例1-2：0埋めのファイル名を指定したい場合（別例 : PadLeft()） string tempStr = &quot;123&quot;; // 8文字になるまで先頭を半角スペースで埋める string str1 = tempStr .PadLeft(8); // str = &quot;00…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F8566072&quot; title=&quot;【C#】文字列（String）の扱いについて - プログラム の超個人的なメモ&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>2010-02-11 06:57:31</published>
  <title>【C#】文字列（String）の扱いについて</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/8566072</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
