oh, such a short code,
It's a bit beyond imagination
Thank you so much
@Kevin
In front, I added two lines of string, How to move?
Macro Macro8
It's a bit beyond imagination
Thank you so much
@Kevin
In front, I added two lines of string, How to move?
Macro Macro8
_s=
;using namespace Spire.Doc;
;Add-Type -Path .\Spire.Doc.dll
;
;function Main([string[]]$args)
;{
;,function D($p1)
;,{
;,,'{D}'
;,}
;}
;
;function A($p1, $p2)
;{
;,'{A}'
;}
;
;function B($p1)
;{
;,'{B}'
;}
;
;function C()
;{
;,'{C}'
;}
;Todo: Move the position of the multiline string (function Main)
str s ss
foreach s _s
,ss.addline(s -1)
,if(!s.len) break
_s.remove(0 ss.len)
ss- "[]"; ss.rtrim
_s.addline(ss -1)
out _s