{"blog_url":"https://xtalco.hatenadiary.org/","height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxtalco.hatenadiary.org%2Fentry%2F20071101%2F1193922073\" title=\" format - \u65b0\u8a00\u8a9e Xtal\u3092\u4f5c\u308b\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":[],"published":"2007-11-01 22:01:13","blog_title":"\u65b0\u8a00\u8a9e Xtal\u3092\u4f5c\u308b\u65e5\u8a18","title":" format","width":"100%","image_url":null,"author_name":"xtalco","author_url":"https://blog.hatena.ne.jp/xtalco/","description":"Xtal\u3067C\u8a00\u8a9e\u306esprintf\u306e\u3088\u3046\u306a\u6587\u5b57\u5217\u306e\u7d44\u307f\u7acb\u3066\u304c\u3057\u305f\u3044\u5834\u5408\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57\u5217\u751f\u6210\u5f0f\u3092\u4f7f\u3044\u307e\u3059\u3002\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57\u5217\u306f\u3001%f\"\u66f8\u5f0f\u6307\u5b9a\u6587\u5b57\u5217\"\u3067\u751f\u6210\u3057\u307e\u3059\u3002 fmt: %f\" %s = %d \"; fmt2: %f! %d %d !; // %f\u306e\u5f8c\u306f\u4efb\u610f\u306e\u8a18\u53f7\u304c\u4f7f\u3048\u308b\u3002 (\u3084[\u3092\u4f7f\u3063\u305f\u5834\u5408\u3001)\u3001]\u304c\u9589\u3058\u8a18\u53f7\u3068\u306a\u308a\u3001\u4e2d\u3067\u30cd\u30b9\u30c8\u3082\u8a31\u3055\u308c\u308b\u3002 fmt3: %f! %(1)s %(0)s ! // \u3053\u306e\u3088\u3046\u306b\u66f8\u304f\u3053\u3068\u3067\u3001\u9806\u756a\u3082\u6c7a\u3081\u308c\u308b\u3002 fmt4: %f! %(foo)s %(hoge)s ! // \u540d\u524d\u3067\u306e\u9806\u756a\u6307\u5b9a\u3082\u51fa\u6765\u308b\u3002 \u3053\u308c\u3089\u306fRuby\u3084Python\u306e\u66f8\u5f0f\u3092\u53c2\u8003\u306b\u30c7\u30b6\u30a4\u30f3\u3055\u308c\u307e\u3057\u305f\u3002\u2026","url":"https://xtalco.hatenadiary.org/entry/20071101/1193922073","type":"rich"}