<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>Cのときと同じく、%sはホワイトスペース以外を意味するので、Cのときと同じように対処する #!/usr/bin/php -q &lt;? $t=&quot;123 45 67890&quot;; // a='123 45',b=' 67',c='890' を期待している sscanf( $t, &quot;%6s%3s%3s&quot;, $a, $b, $c ); print(&quot;a='$a', b='$b', c='$c'\n&quot;); // とりあえず対象文字を「改行以外」にしてみる sscanf( $t, &quot;%6[^\n]%3[^\n]%3[^\n]&quot;, $a, $b, $c ); print(&quot;a='$a', b='$b', c='$…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20140505%2Fsscanf&quot; title=&quot; sscanfは空白文字で区切られる - 揮発性のメモ２&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>2014-05-05 00:00:00</published>
  <title> sscanfは空白文字で区切られる</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20140505/sscanf</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
