Artifact 56dfefde1629a920d9ea3e079e35251ba025b736cd37117e0d1f3582d521dac0:
- File 残局文料/dfns_jvwg_ysaf/程语_月_基类_字串_始缀与终缀.lua — part of check-in [b9c7eb4d3e] at 2024-01-29 07:51:06 on branch trunk — (/ω\) (user: 顽雨沉风, size: 584) [annotate] [blame] [check-ins using]
- File 残局文料/lib/程语_月_基类_字串_始缀与终缀.lua — part of check-in [dd620ddaa9] at 2024-01-27 09:01:01 on branch trunk — (/ω\) (user: 顽雨沉风, size: 584) [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: 584) [annotate] [blame] [check-ins using]
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