Multi Commander Support Forum
Multi Commander => Script => Topic started by: Vir4lPl47ypu5 on June 28, 2017, 10:47:17
-
I have base64 encoded text with a header and footer line that I need to remove before decoding. Multi-Script, MC.Utils.FindAndReplace will not accept REPLACEWITH="" . Is there a way to do this?
For example, I need to remove the first and last lines of the text below.
\CECSTART\NONE\GZIP\BASE64\
H4sIAAAAAAAAAJVXbXPiOAz+3l/hy3dwwnsZ490UaJs9oAyh7XV2dhhv4raZTZxMHNqyv/5k
...
bw29+BdI9UQsYQ0AAA==
\CECEND\
-
If you want to remove know lines.. like first and last..
You can use LoadArray that will return each line as an items in an array.. then remove first and last item. and resave the array with SaveArray
-
Thanks!!