Modul:String: Unterschied zwischen den Versionen

+ appendWithKomma(s, a)
(+ addKomma())
(+ appendWithKomma(s, a))
Zeile 124: Zeile 124:
if s ~= "" then
if s ~= "" then
s = s .. ", "
s = s .. ", "
end
return s
end
function p.appendWithKomma(s, a)
if a ~= nil and a ~= "" then
s = p.addKomma(s) .. a
end
end
return s
return s