Navigation
Addons
Plugins
Navigation
Addons
Plugins
The stringex library exposes more functions to the built-in Lua string library.
The following functions are exposed by this library:
boolean string.contains(s, p);
boolean string.startswith(s, s2);
boolean string.endswith(s, s2);
string string.upperfirst(s);
string string.topropercase(s);
string string.insert(s, p, s2);
string string.remove(s, index);
string string.lpad(s, s2, n);
string string.rpad(s, s2, n);
string string.hex(s, sep);
string string.fromhex(s);
table string.totable(s);
string string.clean(s, trimend);
string string.trimstart(s, char);
string string.trimend(s, char);
string string.trim(s, char);
table string:GetArgs()
string string:IsQuotedArg()
table string:ParseArgs()