<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">(TL;DR: I'd suggest two functions: one (string-words str)<br>
function that does Eli's way, and one (string-split str sep) that<br>does it Laurent's way).</blockquote><div><br></div><div>That would be a good option to me, considering that "my way" is with remaining ""s in the output list.</div>
<div>The question remains if a string can be accepted for sep, in which case the empty string must be considered, as pointed out in the Lua discussion. Though a single char should be sufficient for nearly all simple cases.</div>
<div><br></div><div>Laurent </div>