OC-Tsuki/ksrc/stdlib/string.lua

11 lines
211 B
Lua
Raw Normal View History

2020-05-12 16:16:36 +10:00
_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]]