Overview
| Comment: | (/ω\) |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
dd620ddaa9852038a6bb4cdbacb98b46 |
| User & Date: | 顽雨沉风 on 2024-01-27 09:01:01.138 |
| Other Links: | manifest | tags |
Context
|
2024-01-27
| ||
| 09:05 | (/ω\) check-in: 8aa534f2d4 user: 顽雨沉风 tags: trunk | |
| 09:01 | (/ω\) check-in: dd620ddaa9 user: 顽雨沉风 tags: trunk | |
| 08:56 | (/ω\) check-in: 6cfa8d42bb user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/lib/程语_月_基类_字串_始缀与终缀.lua
from [7b38ce09e7]
to [56dfefde16].
1 2 |
local d_3 = {}
--~ 加
| < < < < < < < < < < < < | < < < < < < < < < < < < < < < < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
local d_3 = {}
--~ 加
function d_3.加始缀_基态(o1, o2)
return o2 .. o1
end
function d_3.加终缀_基态(o1, o2)
return o1 .. o2
end
--~ 加_分_确保
--~ function d_3.加前缀_确保态(o1, o2, o3)
--~ 筛文库.返全文(o1, )
--~ local k1
--~ k1 = d_3.删前缀(o1, o2, o3)
--~ return o2 .. o1
--~ end
--~ 减
function d_3.减始缀_基态(o1, o2)
if o1:startswith(o2) then
return o1:sub(#o2 + 1)
end
end
function d_3.减终缀_基态(o1, o2)
if o1:endswith(o2) then
return o1:sub(1, #o1 - #o2)
end
end
return d_3
|