Overview
Comment: | (/ω\) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e837da4300ed04d10734b3e10e5834a0 |
User & Date: | 顽雨沉风 on 2024-01-29 09:55:01 |
Other Links: | manifest | tags |
Context
2024-01-29
| ||
09:56 | (/ω\) check-in: cb3c2334bf user: 顽雨沉风 tags: trunk | |
09:55 | (/ω\) check-in: e837da4300 user: 顽雨沉风 tags: trunk | |
09:51 | (/ω\) check-in: 48a9efa0a4 user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/dfns_jvwg_ysaf/程序语言_月_基础类型_字串_前缀与后缀.lua from [e0816286f3] to [5334ae63ad].
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 | local d_3 = {} --~ 加 function d_3.加前缀(o1, o2) return (o2 or "") .. o1 end function d_3.加后缀(o1, o2) return o1 .. (o2 or "") 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, o3) return d_2.加前缀(o1, d_2.加后缀(o1, o3)) end --~ 删 function d_3.删前缀_基态(o1, o2) if o1:startswith(o2) then return o1:sub(#o2 + 1) end end function d_3.删后缀_基态(o1, o2) | > > > > > | 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 28 29 30 | local 历排库 = 常用库.导入库_通用大字集态_八位态("程序语言_月_基础类型_序排_逐一") local d_3 = {} --~ 加 function d_3.加前缀(o1, o2) return (o2 or "") .. o1 end function d_3.加后缀(o1, o2) return o1 .. (o2 or "") 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, o3) return d_2.加前缀(o1, d_2.加后缀(o1, o3)) end function d_3.逐一加前缀(o1, o2) 历排库.处理后返排(o1, d_3.加前缀, o2) end --~ 删 function d_3.删前缀_基态(o1, o2) if o1:startswith(o2) then return o1:sub(#o2 + 1) end end function d_3.删后缀_基态(o1, o2) |
︙ | ︙ |