Differences From Artifact [a728f1d5af]:
- File 残局文料/dfns_jvwg_ysaf/程语_月_基类_字串_内置库_加多.lua — part of check-in [b9c7eb4d3e] at 2024-01-29 07:51:06 on branch trunk — (/ω\) (user: 顽雨沉风, size: 424) [annotate] [blame] [check-ins using]
- File 残局文料/lib/程语_月_基类_字串_内置库_加多.lua — part of check-in [8aa534f2d4] at 2024-01-27 09:05:03 on branch trunk — (/ω\) (user: 顽雨沉风, size: 424) [annotate] [blame] [check-ins using]
- File 残局文料/lua_lib/程语_月_基类_字串_内置库_加多.lua — part of check-in [5e8e495c56] at 2024-01-30 07:29:00 on branch trunk — (/ω\) (user: 顽雨沉风, size: 424) [annotate] [blame] [check-ins using]
To Artifact [ce9c5bb88f]:
- File single_doc/lua_lib/程语_月_基类_字串_内置库_加多.lua — part of check-in [60c256f91b] at 2024-06-27 23:36:58 on branch trunk — 0 (user: 顽雨沉风, size: 424) [annotate] [blame] [check-ins using]
- File 残局文料/lua_lib/程语_月_基类_字串_内置库_加多.lua — part of check-in [89f423ff38] at 2024-02-13 07:31:23 on branch trunk — 好 (user: 顽雨沉风, size: 424) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 | function string:lstrip() return self:gsub("^%s+", "") end function string:rstrip() return self:gsub("%s+$", "") end function string:strip() | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | function string:lstrip() return self:gsub("^%s+", "") end function string:rstrip() return self:gsub("%s+$", "") end function string:strip() local h1 h1 = self:lstrip() return h1:rstrip() end function string:startswith(text) if self:sub(1, #text) == text then return self end end function string:endswith(text) |
︙ | ︙ |