How to insert a string into a table without knowing the index number?

I need to insert a string to a table, but I don’t know the index number, so I can’t just do:
table.insert(BadgeNumbers,1,txt)

I looked for solutions on the developer hub, but couldn’t find any that fit with what I need.


So you can just do:

table.insert(BadgeNumbers,txt)
1 Like