<?xml version="1.0" encoding="windows-1252"?>
<node id="712430" title="Re: Challenge: &quot;Words&quot; In A String" created="2008-09-18 23:01:26" updated="2008-09-18 19:01:26">
<type id="11">
note</type>
<author id="381608">
ikegami</author>
<data>
<field name="doctext">
I have a mostly working solution. I found three great test cases:

&lt;c&gt;
penisland
---------
pen island
penis land
pen is land
penis l and
pen is l and
penis l an d
pen is l an d

zatxtaz
-------
z at x ta z

xapenx
------
xa pen x
x ape nx
&lt;/c&gt;

&lt;p&gt;I get all but "xa pen x" at the moment &amp;mdash; it prints "x a pen x" &amp;mdash; and I haven't attempted sorting yet.
</field>
<field name="root_node">
712392</field>
<field name="parent_node">
712392</field>
</data>
</node>
