Sandbox92
From Metabolomics.JP
{{#lua: local id, id3s, id4s id3s = "[" id4s = "[" for id in string.gmatch("", "%S+") do
id3s = id3s .. string.sub(id, 1, 1) id4s = id4s .. string.sub(id, 2, 2)
end id3s = id3s .. "]" id4s = id4s .. "]" print(id3s .. id4s)