Sandbox92
From Metabolomics.JP
(Difference between revisions)
(New page: {{#get:34[]}}) |
|||
Line 1: | Line 1: | ||
− | {{#get:34[]}} | + | {{#lua: |
+ | local id, id3s, id4s | ||
+ | id3s = "[" | ||
+ | id4s = "(" | ||
+ | for id in string.gmatch("{{#get:34[]}}", "%S+") do | ||
+ | id3s = id3s .. string.sub(id, 0, 1) | ||
+ | id4s = id4s .. string.sub(id, 1, 2) | ||
+ | end | ||
+ | id3s = id3s .. "]" | ||
+ | id4s = id4s .. "]" | ||
+ | print(id3s .. id4s) | ||
+ | |}} |
Revision as of 22:12, 25 January 2009
[](]