<div dir="ltr">[cyclone/sprintf]<div><br></div><div>and we're adding more features to it in the next release</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-03 17:22 GMT-03:00 oliver <span dir="ltr"><<a href="mailto:oliver@klingt.org" target="_blank">oliver@klingt.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Ali Momeni wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
What is everyone's favorite way to format text in simple ways, a la<br>
something like sprintf?<br>
<br>
</blockquote>
<br></span>
actually PD's message box can be manipulated in pretty powerful ways, more than MAX's message box can do. see the subpatch "pd changing-messages" in the message-help.pd file !<br>
<br>
<br>
that combined with [makefilename] does pretty much everything i need for text formatting.<br>
<br>
<br>
<br>
[makefilename] also has an undocumented padding method.<br>
<br>
f.e.: sending the float number 13 to<br>
<br>
|makefilename %05d|<br>
<br>
will output the symbol "00013"<br>
<br>
<br>
<br>
<br>
you can even create $0-messages with this little trick:<br>
<br>
|list $ 0 somename(<br>
|<br>
|$1$2-$3-rrr(<br>
|<br>
|print TRYIT|<br>
<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>