游戏王残局简化版

Check-in [dd620ddaa9]
Login

Check-in [dd620ddaa9]

Overview
Comment:(/ω\)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: dd620ddaa9852038a6bb4cdbacb98b468c99f4588f235678ab5fd54e5b4f9a8a
User & Date: 顽雨沉风 on 2024-01-27 09:01:01
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
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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 o2 .. o1
  end
function d_3.加后缀_基态(o1, o2)
  return o1 .. o2
  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, o3)
  return o2 .. o1 .. (o3 or "")
  end
function d_3.加始缀与终缀_基态(o1, o2, o3)
  return o2 .. o1 .. (o3 or "")
  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: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
function d_3.减终缀_基态(o1, o2)
  if o1:endswith(o2) then
    return o1:sub(1, #o1 - #o2)
    end
  end
--~ 场景_令行窗_件径
function d_3.在前后加英文双引号_基态(o1)
  return [["]] .. o1 .. [["]]
  end
function d_3.在始终加英文双引号_基态(o1)
  return [["]] .. o1 .. [["]]
  end
return d_3