hi .... to evaluate the group ... could be a solution, simpler, receive in a variable, the concatenation of the "N" ZEROS characters, right, with the content attribute: INPUT: ID CODE 111 20 112 40 113 20 114 40 115 CMR2 116 CMR3 117 20 120 20 121 20 EEL >> PRE PROCESSING string(11) W_2_ZEROS_LEN_11 string(04) W_2_ZEROS_LEN_04 EEL >> PRE PROCESSING W_2_ZEROS_LEN_04 = right( "0000" & trim( `CODE` ), 04 ) W_2_ZEROS_LEN_11 = right( "00000000000" & trim( `CODE` ), 11 ) OUTUPUT: ID CODE CODE_4_ZEROS CODE_11_ZEROS 111 20 0020 00000000020 112 40 0040 00000000040 113 20 0020 00000000020 114 40 0040 00000000040 115 CMR2 CMR2 0000000CMR2 116 CMR3 CMR3 0000000CMR3 117 20 0020 00000000020 120 20 0020 00000000020 121 20 0020 00000000020 Regards,
... View more