Artifact 11e159b24a69bdc34b52aa9bd30db20faedc2f12e1e231a3eb9e57e646f31631:
- File 残局文料/lib/程语_月_基类_文_内置库_加多.lua — part of check-in [f3e7596fd8] at 2024-01-26 14:14:03 on branch trunk — (/ω\) (user: 顽雨沉风, size: 321) [annotate] [blame] [check-ins using]
function string:lstrip() if self == nil then return nil end local s = self:gsub("^%s+", "") return s end function string:rstrip() if self == nil then return nil end local s = self:gsub("%s+$", "") return s end function string:strip() return self:lstrip():rstrip() end