Lua:Lpad

Lua:Lpad

From BeamNG

Revision as of 22:14, 22 January 2015 by Nug700 (talk | contribs) (added line number.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns a string that repeats 'c' number of charaters in string 's' minus 'l' times, and then adds the string 's' to the end.

Location: lua\utils.lua:29

Syntax

nil lpad (s, l, c)