How to create list of unique 3 character alphabet code. If i pass "AAA" and 2, it should return "AAB", "AAC". 2 unique codes after "AAA"
Discussion posts and replies are publicly visible
Couple of questions , where you intended to use this and the limit of iteration count ?? This you can write using Code and char function .
Pasting a Sample code for your reference , You need to change the code if the iteration count is more than 25
a!localVariables( local!inputcodes: if( a!isNullOrEmpty(ri!input), null, code(ri!input) ), local!iterate: a!forEach( items: enumerate(ri!iterationCount+1), expression: a!localVariables( local!index:fv!item, concat( char(local!inputcodes[1]), char(local!inputcodes[2]), char(local!inputcodes[3] + local!index) )) ), local!iterate )