Icon

20220823 Pikairos How to Intercalate a set of Characters after every N Characters in String

For exp : 000XXX000000000000000000000000
000240240240210120120030XXX060060030XXXXXXXXX000000000
STDSTDSTDSTDSTDSTDSTDSTD

Expected result : 000,XXX,000,000,000,000,000,000,000,000
000,240,240,240,210,120,120,030,XXX,060,060,030,XXX,XXX,XXX,000,000,000
STD,STD,STD,STD,STD,STD,STD,STD

Your Datareplace( strip( regexReplace($Text$, join(".{", string( $${IPeriod}$$),"}"), "$0 ")), "", $${SCharacter}$$)Set here the Characteryou want to intercalateand its periodwithin the textTable Creator String Manipulation Variable Creator Your Data replace( strip( regexReplace($Text$, join(".{", string( $${IPeriod}$$),"}"), "$0 ")), "", $${SCharacter}$$)Set here the Characteryou want to intercalateand its periodwithin the textTable Creator String Manipulation Variable Creator

Nodes

Extensions

Links