diff options
Diffstat (limited to 'iemhelp/help-stripfilename.pd')
-rw-r--r-- | iemhelp/help-stripfilename.pd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/iemhelp/help-stripfilename.pd b/iemhelp/help-stripfilename.pd new file mode 100644 index 0000000..224b797 --- /dev/null +++ b/iemhelp/help-stripfilename.pd @@ -0,0 +1,24 @@ +#N canvas 183 294 490 264 10; +#X obj 87 75 symbol; +#X text 15 181 (c) musil@iem.kug.ac.at; +#X text 57 194 IEM KUG; +#X text 32 206 graz \, austria 2002; +#X msg 87 43 abcdefghijk; +#X text 233 199 updated for Pd version 0.35; +#X msg 26 59 set 2; +#X text 116 14 characters of a symbol; +#X text 10 1 stripfilename: strip the first or last; +#X obj 47 138 stripfilename -5; +#X msg 11 39 set -7; +#X obj 47 160 print; +#X text 190 92 1.arg: <float> number of first; +#X text 227 105 or last characters to strip; +#X text 218 132 if positiv -> first; +#X text 218 144 if negativ -> last; +#X msg 40 81 set 8; +#X connect 0 0 9 0; +#X connect 4 0 0 0; +#X connect 6 0 9 0; +#X connect 9 0 11 0; +#X connect 10 0 9 0; +#X connect 16 0 9 0; |