Module:Strings

From Granblue Fantasy Wiki
Jump to navigation Jump to search

Documentation for this module may be created at Module:Strings/doc

local getArgs = require('Module:Arguments').getArgs

local p = {}

function p.reverseArgs(frame)
	local args = getArgs(frame, {
		trim = true,
		removeBlanks = true
	})
	local result = {}
	for _,v in pairs(frame.args) do
		table.insert(result, 1, v)
	end
	return table.concat(result, '')
end

return p