How to remove (; ) in the end of array in appian

Hello everyone, for a few days I have a complication, I don't know how to remove the (; ) after each of the array

I have a rule that is responsible for extracting information and I build an array for each element, at the end I have an array of arrays that I print in a plain text document.


when I run my rule it returns something like this:
 

0WF20220210630 14 2/14/2022 22/04/20225678 n453049 MXP 1.00000020220445678 P
11556020122010081089 944,414.101234121212121231089 944,414.1000000000022023/06/2020
; 0WF20220210631 14 2/22/2022 22/04/2022234567 n525487 MXP 1.000000202204ERTYUI P
11556020122010081089 777,777.801234121212121231089 777,777.8000000003042005/10/2020
0WF20220210631

  Discussion posts and replies are publicly visible