<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>programer_hoshimi</author_name>
  <author_url>https://blog.hatena.ne.jp/programer_hoshimi/</author_url>
  <blog_title>Programメモ</blog_title>
  <blog_url>https://programer-hoshimi.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>perlやphpはなにがいいって正規表現とかそういう文字列処理に優れているところなんですよね。 C++は文字列苦手なんですが、最近紹介してるboostというライブラリががんばってくれています。 とりあえず日本語の切り分けをするプログラムを組んだので紹介。 using namespace std; wstring str = L&quot;ファイト,だよ☆&quot;; typedef boost::char_separator&lt;wchar_t&gt; Separator; typedef boost::tokenizer&lt;Separator, wstring::const_iterator, wstring&gt; Toke…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogramer-hoshimi.hatenadiary.org%2Fentry%2F20080811%2F1218428017&quot; title=&quot;日本語のsplit - Programメモ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/programer_hoshimi/20080810/20080810200628.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-08-11 13:13:37</published>
  <title>日本語のsplit</title>
  <type>rich</type>
  <url>https://programer-hoshimi.hatenadiary.org/entry/20080811/1218428017</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
