Module talk:Random: Difference between revisions

Content deleted Content added
Comment and code sample
Line 47:
end
</pre>
 
== Spaces in separators ==
 
If you want a separator that can contain leading or trailing spaces and don't mind never having double-quotes as part of a separator, then you can use something like
<nowiki>sep = sep:gsub( '"', '' )</nowiki>
to strip out the double quotation marks. That allows you to set a parameter such as {{para|separator|", "}} in the template call. HTH --[[User:RexxS|RexxS]] ([[User talk:RexxS|talk]]) 19:11, 7 June 2018 (UTC)