<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higeorange</author_name>
  <author_url>https://blog.hatena.ne.jp/higeorange/</author_url>
  <blog_title>higeorange's blog</blog_title>
  <blog_url>https://higeorange.hatenablog.jp/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>function printArray(format, arry) { var i = 0; return format.replace(/%s/g, function($0) { return arry[i++]; }); } var a = [&quot;foo&quot;, &quot;bar&quot;]; printArray(&quot;%s+%s&quot;, a); // foo+bar そもそも printf がどんなものか詳しくはしらないのでそれっぽいやつ． 型とか関係なし．第2引数に配列をとって順に展開していく． エラー処理がまったくないけどきにしない． 参考 はてなブログ</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigeorange.hatenablog.jp%2Fentry%2F20080530%2F1212152874&quot; title=&quot; printf もどき - higeorange&amp;#39;s blog&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>2008-05-30 22:07:54</published>
  <title> printf もどき</title>
  <type>rich</type>
  <url>https://higeorange.hatenablog.jp/entry/20080530/1212152874</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
