1
#N canvas 385 348 685 518 10;
2
#X text 497 29 part of zexy;
4
#X text 122 14 - find sublists in lists;
5
#X obj 88 175 listfind;
6
#X msg 279 154 1 2 3 2 1 8 2 3 4;
7
#X obj 279 128 loadbang;
9
#X text 283 174 set the list to be searched;
10
#X text 85 55 the list to be found;
11
#X msg 100 95 list bla;
12
#X msg 114 119 list 2 3;
13
#X msg 126 142 list 8;
14
#X obj 88 220 print found@;
15
#X text 180 223 outputs a list of (0-based) indices of all occurences
17
#X text 84 281 this is similar (and hopefully compatible) to foobar's
18
[list-find] but it searches not only for single elements but for entire