Seperate Table values with "/" in LUA

Viewed 45

I have a table = {1, 2, 3}

Now i want to print everything in the table but seperated with "/" meaning my result should be 1/2/3 The problem is that my table constantly updates and sometimes it changes to {1, 3} or even just {2} so how can i print everything in the table but each value seperated by a "/" without ending like one of the following:

1//3

13

1/3/

but instead:

1/3

0 Answers
Related