[PD] String editing

Frank Barknecht fbar at footils.org
Mon Jun 28 18:32:56 CEST 2004


Hallo,
Thomas Sivertsen hat gesagt: // Thomas Sivertsen wrote:

> I was wondering if there is a possibility in PD to parse a message like
> "symbol /home/thomas/qt/regnbueromskip.mov" and then remove the "symbol"
> within that string? 
>
> Something like:
> 
> [symbol /home/thomas/qt/regnbueromskip.mov]   <-- messagebox
    | 
    [route symbol]
    |
> [prepend read /home/thomas/qt/regnbueromskip.mov] <-- prepend object

Use the first outlet of the route object. You can also use the second
as well, if your don't know for sure, that the filename has a symbol
in front. [route] will route everything, that doesn't match, to the
second outlet.

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list