11 lines
211 B
Lua
11 lines
211 B
Lua
_P.string = {}
|
|
@[[function copylib(method)]]
|
|
_P.string.@[{method}] = string.@[{method}]
|
|
@[[end]]
|
|
|
|
@[[for k, v in pairs(string) do
|
|
copylib(k)
|
|
end]]
|
|
@[[copylib("trim")]]
|
|
@[[copylib("explode")]]
|
|
@[[copylib = nil]] |