<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>scientre</author_name>
  <author_url>https://blog.hatena.ne.jp/scientre/</author_url>
  <blog_title>メモ用紙</blog_title>
  <blog_url>https://scientre.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>基本的な考え方としては、あらかじめ行頭や行末にきてほしくない文字を隣の文字とひとまとめにしておく。たとえば これは「チェックボックス」です。 なら こ/れ/は/「チェッ/ク/ボッ/ク/ス」/で/す。 というように。 もちろんmonospaceな書体で、$widthは半角での文字数。 &lt;?php $kinsoku_c = str2array(')]}）］｝」』-、。ーぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヶ'); $kinsoku_p = str2array('([{（［｛「『'); $wodorizi = str2array('々ゝヽ'); function ja_wordwrap($str…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fscientre.hateblo.jp%2Fentry%2F20090517%2Fwordwrap&quot; title=&quot;PHPで文字列の折り返しと禁則処理 - メモ用紙&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>2009-05-17 00:00:01</published>
  <title>PHPで文字列の折り返しと禁則処理</title>
  <type>rich</type>
  <url>https://scientre.hateblo.jp/entry/20090517/wordwrap</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
