there is 16 digit card no which in text format like { 2567893025367892} want the output as {2567-8930-2536-7892}.
Discussion posts and replies are publicly visible
Try:
a!localVariables( local!cardNo: "2567893025367892", joinarray( a!forEach( items: 1+(enumerate(4)*4), expression: mid(local!cardNo,fv!item,4) ), "-" ) )
thnks alot
No problem! Feel free to mark this as answered if that solves your use case.