1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 02:05:40 +08:00
2021-08-14 20:51:00 +08:00

21 lines
219 B
Lua

local str = {}
function str.trim(str)
return str:match( "^%s*(.-)%s*$" )
end
function str.fill(str, length, ...)
if string.len(str) > length then
end
end
return str
-- @todo add lua string api