יחידה:String: הבדלים בין גרסאות בדף

הוספת "reverse"
מ תקלדה
שורה 389: שורה 389:
     local tab = mw.text.split( frame.args[1] or '', '' )
     local tab = mw.text.split( frame.args[1] or '', '' )
     local restab = {}
     local restab = {}
     for i = #tab, 1 do table.insert( restab, tab[i] ) end
     for i = #tab, 1, -1 do table.insert( restab, tab[i] ) end
     return table.concat( restab )
     return table.concat( restab )
end
end