Anyone tell me how this works and how I would build it?
I need to take a 12 character string, split into groups of two characters in one string with seperaters of a colon, yes its a MAC Address
sText = "danymaordanymaor"
-- returns a table of the string divided
tblResult = DivString(sText, 2)
--show the results in a input box
if tblResult then
for n=1, Table.Count(tblResult) do
Input.SetText("Input1", Input.GetText("Input1")..tblResult[n].."\r\n")
end
end
Thanks
Phil Merry



