View Single Post
01-12-19, 01:21 PM   #5
krowbar71
A Defias Bandit
Join Date: Oct 2008
Posts: 2
How about making everything wrong and fixing it all:

Code:
s = "I:1234,3450,i:9867"
s1 = string.gsub(string.gsub(s, "[iI]:", ""), "(%d+)", "i:%1")
print(s1)
i:1234,i:3450,i:9867
  Reply With Quote