[PD] String editing
Thomas Sivertsen
thomas at bek.no
Tue Jun 29 03:50:35 CEST 2004
Frank Barknecht 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]
> |
>
>
Aha! That is probably the simplest method.
>>[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.
>
>
Just like in Max, yes. It's been a while since I made any patches...
Thanks a lot!
.thomas
More information about the Pd-list
mailing list