I can't find a similar case. Please Help! (lua)
input :
table1={'a','b','c','d','e'}
table2={'aa','bb','cc','dd','ee'}
table3={'aaa','bbb','ccc','ddc','eee'}
...
output :
group1={'a','aa','aaa',...}
group2={'b','bb','bbb',...}
group3={'c','cc','ccc',...}
group4={'d','dd','ddd',...}
group5={'e','ee','eee',...}
Assuming your problem is to group strings made up of different amounts of the same character, I managed to come up with a function I called
agroupTables().The function:
Usage example
output: