For instance, If I say something like, "Testing 123" I would want it to have a letter in between that text like this: "Tqeqsqtqiqnqg 1q2q3" (q).

4 comments

0

You can learn string patterns. GSUB and SPLIT is very helpful in this case. Also I recommend that you search before you post.

0

I searched, but no results :(

0

This can be accomplished using a for loop and gsub(), very easily.

0

You don't even need a for loop or gsub, use table.concat(s:split(" "), "q")