Module:ListToText/doc
Appearance
| This is a documentation subpage for Module:ListToText. It contains usage information, categories and other content that is not part of the original Module page. |
Module Quality
Usage
This module is invoked by Template:ListToText. To invoke this module from another module, use the call function of this module:
local listToText = require( "Module:ListToText" ).call
-- The following line assigns "1, 2, 3 and 4" to txt:
local txt = listToText { "1", "2", "3", "4" }
Parameters to Template:ListToText are also applicable to this call function. See the template documentation to learn more.