<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>The following works:</div><div><br></div><div><font class="Apple-style-span" face="Courier">String withAll: #($a $b $c)</font></div><div><br></div><div>But I'm not sure I'm answering your question.&nbsp;</div><div><br></div><br><div><div>On Dec 29, 2012, at 09:30 , Chris Cunnington wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I have a question about converting an OrderedCollection full of chars into a string. [1]<br><br>I would have thought there was a method like #asString that could be sent to an OrderedCollection to produce a string. I find myself having to do the process in three steps: 1) #reading the OC; 2) creating an empty string; and then, 3) iterating over every char to put it into the String.<br><br>I think I'm missing a simpler way. Especially with Xtreams. Shouldn't I just use a filter, change the #contentSpecies, or something?<br><br>Chris<br><br><br>[1]<br><br>startTag: data<br> &nbsp;&nbsp;&nbsp;&lt;action: 'element'&gt;<br> &nbsp;&nbsp;&nbsp;|tagdata str |<br> &nbsp;&nbsp;&nbsp;tagdata := data second first reading.<br> &nbsp;&nbsp;&nbsp;str := (String new: 20) writing.<br> &nbsp;&nbsp;&nbsp;tagdata do: [:each| str put: each].<br> &nbsp;&nbsp;&nbsp;^'html ' , (data first second first asString) , $: , $' , (str close; terminal) , $'<br><br><br></div></blockquote></div><br></body></html>