[PD] manipulation of symbols?

IOhannes m zmoelnig zmoelnig at iem.at
Mon Nov 1 22:10:46 CET 2010


On 2010-11-01 20:01, João Pais wrote:
> Hi,
> 
> is there any object that allows a more extended manipulation of symbols?
> For example, I have symbols with the format 1234-56-78_12-23.aaa, and I
> wanted to get only the floats inside, and use them on mathematics. For
> now, the only way I see to do that is to use several [splitfilename -],
> until all the individual elements are separated. Or is it possible to do
> that with sprintf?
> 

hmm, sprintf is usually for the other way round. you would need scanf...

anyhow, [symbol2list -] will split your symbol into "
1234, 56, 78_12-23.aaa" so it's a bit more comfortable than [splitfilename].

mfgasdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101101/33c67fa9/attachment.bin>


More information about the Pd-list mailing list