The main difference is that moocow's conversion of a message into a string appends a 0 at the end of the created list.<br><br><br>Tom<br><br><div><span class="gmail_quote">On 10/18/07, <b class="gmail_sendername">Thomas O Fredericks
</b> <<a href="mailto:tof@danslchamp.org">tof@danslchamp.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The help is in moocow/pdstring-
help.pd<br><br>Tom<div><span class="e" id="q_115b418138b83c45_1"><br><br><br><div><span class="gmail_quote">On 10/18/07, <b class="gmail_sendername">Martin Peach</b> <<a href="mailto:martin.peach@sympatico.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
martin.peach@sympatico.ca
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thomas O Fredericks wrote:<br><br>>What is the difference between [str] and [any2string]?
<br><br>I don't know. I can't find the help file for [any2string] so I don't know<br>how to use it. Maybe I have to look at the source code?<br><br>>If I understand correctly str is a wrapper for standard string functions
<br>>and<br>>it's output is a pointer to a string.<br><br>More or less true. There are also functions to output the string as bytes or<br>symbols.<br><br>>I believe this approach is more limited that using any2string because all
<br>>basic string functions can be recreated once a symbol is converted to a<br>>series of bytes. For example, to split a string along a space character you<br>>can use [list split 32], but with the [str] architecture, you need to use
<br>>[str csplit 32].<br><br>That's one more character to type ;)<br>If the web page patch could be done with [any2string] and [list] then sure.<br>When I did the string stuff I was not aware of any other way of manipulating
<br>arbitrary lists of bytes. Pd tries to interpret anything you type and some<br>characters don't get through unmangled. Even with the [str] object you have<br>to specify them by ascii code.<br><br>Martin<br><br><br>
<br>_______________________________________________<br><a href="mailto:PD-list@iem.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management ->
<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.puredata.info/listinfo/pd-list
</a><br></blockquote></div><br>
</span></div></blockquote></div><br>