#N canvas 501 79 558 431 10; #X obj 0 402 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289 0; #X obj 0 226 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0 ; #N canvas 613 201 357 237 META 0; #X text 0 19 LICENSE SIBSD; #X text 0 127 LIBRARY cyclone; #X text 0 0 KEYWORDS substitute symbol replace; #X text 0 38 DESCRIPTION substitute a symbol for another symbol in a message; #X text 0 70 INLET_0 message; #X text 0 89 INLET_1 message; #X text 0 108 OUTLET_0 message; #X text 0 147 VERSION 0.1-alpha57; #X text 0 165 AUTHOR Krzysztof Czaja; #X text 1 183 RELEASE_DATE 2002; #X text 2 202 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html ; #X text 2 234 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan adapted the patch to pd-extended 2015-02-02; #X restore 497 404 pd META; #X obj 0 303 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0 ; #X obj 0 340 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1 0; #N canvas 314 328 428 109 Related_objects 0; #X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0; #X text 6 1 Related Objects; #X restore 201 404 pd Related_objects; #X obj 79 235 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0 ; #X obj 79 312 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0 ; #X obj 0 0 cnv 15 552 40 empty empty substitute 3 12 0 18 -204280 -1 0; #X obj 478 10 substitute; #X text 12 23 substitute a symbol for another symbol in a message; #X msg 237 89 bar foo; #X text 107 235 message; #X text 182 235 - string to input and check for substitution; #X obj 79 264 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0 ; #X text 107 264 message; #X text 182 264 - format \, change replacement policy to if see str1 change to str2; #X text 107 312 message; #X text 182 312 - output message with replaced strings; #X text 90 352 1) string; #X text 90 370 2) string; #X text 184 352 - string to search for; #X text 184 370 - string to replace with; #X obj 84 141 cyclone/substitute foo boo; #X msg 54 47 far boo; #X msg 84 69 bar foo; #X obj 84 201 print sub; #X obj 237 202 print nosub; #X connect 11 0 23 1; #X connect 23 0 26 0; #X connect 23 1 27 0; #X connect 24 0 23 0; #X connect 25 0 23 0;