[PD] separate list of symbols

tim vets timvets at gmail.com
Mon Aug 5 02:08:51 CEST 2013


Hi,
here's patch with two examples in attachment.
The first one uses l2s and s2l, (left example, not sure about floats though)
but then I realized that's way too complicated,
probably much more convenient/adjustable using [list-find] and [list split]
(right example)
gr,
Tim


2013/8/4 Alexandros Drymonitis <adrcki at gmail.com>

> [list split 2] would work in your case I guess..
>
> Sent from my iPad
>
> On 4 Αυγ 2013, at 21:18, "Mirko Maier" <mirkom at gmx.de> wrote:
>
> > hi all,
> >
> > (sorry, the previous mail didn't work because of html)
> >
> > i'd like to separate a list (with floats or symbols) with a given
> separator into two lists.
> >
> > for example, my input list ist
> >
> > [hi i am a robot(
> >
> > and i want to give "am" as a separator,
> >
> > that i receive two lists as output:
> >
> > [hi i(
> > and
> > [am a robot(
> >
> > (the second list includes the separator).
> >
> > it should also work with floats and symbols and floats mixed.
> >
> > any cheap solution? thanks for help.
> >
> > best
> > Mirko
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130805/3737d481/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split_list_with_separator.pd
Type: application/octet-stream
Size: 1591 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130805/3737d481/attachment.obj>


More information about the Pd-list mailing list