453
edits
No edit summary |
No edit summary |
||
Line 187:
--Loop through the list and append link brackets and the value to the output
for w in temp_str:gmatch("(.-),") do
--Remove whitespace from the ends of the strings
local str = string.gsub(w, '^%s*(.-)%s*$', '%1')
output_str = output_str .. '[[Equipment/' ..
end
--Remove the extra comma and space that got added at the end
output_str = output_str:sub(1, -3);
|