游戏王残局简化版

Annotation For 残局文料/lib/程语_月_基类_字串_始缀与终缀.lua
Login

Annotation For 残局文料/lib/程语_月_基类_字串_始缀与终缀.lua

Origin for each line in 残局文料/lib/程语_月_基类_字串_始缀与终缀.lua from check-in dd620ddaa9:

6cfa8d42bb 2024-01-27  顽雨沉风: local d_3 = {}
6cfa8d42bb 2024-01-27  顽雨沉风: --~ 加
6cfa8d42bb 2024-01-27  顽雨沉风: function d_3.加始缀_基态(o1, o2)
6cfa8d42bb 2024-01-27  顽雨沉风:   return o2 .. o1
6cfa8d42bb 2024-01-27  顽雨沉风:   end
6cfa8d42bb 2024-01-27  顽雨沉风: function d_3.加终缀_基态(o1, o2)
6cfa8d42bb 2024-01-27  顽雨沉风:   return o1 .. o2
6cfa8d42bb 2024-01-27  顽雨沉风:   end
6cfa8d42bb 2024-01-27  顽雨沉风: --~ 加_分_确保
6cfa8d42bb 2024-01-27  顽雨沉风: --~ function d_3.加前缀_确保态(o1, o2, o3)
6cfa8d42bb 2024-01-27  顽雨沉风: --~ 筛文库.返全文(o1, )
6cfa8d42bb 2024-01-27  顽雨沉风: --~ local k1
6cfa8d42bb 2024-01-27  顽雨沉风: --~ k1 = d_3.删前缀(o1, o2, o3)
6cfa8d42bb 2024-01-27  顽雨沉风: --~ return o2 .. o1
6cfa8d42bb 2024-01-27  顽雨沉风: --~ end
dd620ddaa9 2024-01-27  顽雨沉风: --~ 减
6cfa8d42bb 2024-01-27  顽雨沉风: function d_3.减始缀_基态(o1, o2)
6cfa8d42bb 2024-01-27  顽雨沉风:   if o1:startswith(o2) then
6cfa8d42bb 2024-01-27  顽雨沉风:     return o1:sub(#o2 + 1)
6cfa8d42bb 2024-01-27  顽雨沉风:     end
6cfa8d42bb 2024-01-27  顽雨沉风:   end
6cfa8d42bb 2024-01-27  顽雨沉风: function d_3.减终缀_基态(o1, o2)
6cfa8d42bb 2024-01-27  顽雨沉风:   if o1:endswith(o2) then
6cfa8d42bb 2024-01-27  顽雨沉风:     return o1:sub(1, #o1 - #o2)
6cfa8d42bb 2024-01-27  顽雨沉风:     end
6cfa8d42bb 2024-01-27  顽雨沉风:   end
6cfa8d42bb 2024-01-27  顽雨沉风: return d_3