游戏王残局简化版

Check-in [596c321b0c]
Login

Check-in [596c321b0c]

Overview
Comment:(/ω\)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 596c321b0caa9e6141e02948bb34ca4a8ce29a530f457bb3d8e34ad9963dc5ef
User & Date: 顽雨沉风 on 2024-01-27 02:26:20
Other Links: manifest | tags
Context
2024-01-27
08:55
(/ω\) check-in: 2dc19335a9 user: 顽雨沉风 tags: trunk
02:26
(/ω\) check-in: 596c321b0c user: 顽雨沉风 tags: trunk
02:24
(/ω\) check-in: 581a2aaf5d user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lib/程语_月_基类_文_内置库_加多.lua from [faa57f08e9] to [2e0c2f1d7c].

1
2
3
4
5
6
7

8

9
10
11
12
13
14
15
function string:lstrip()
  return self:gsub("^%s+", "")
  end
function string:rstrip()
  return self:gsub("%s+$", "")
  end
function string:strip()

  return self:lstrip():rstrip()

  end
function string:startswith(text)
  local size = text:len()
  if self:sub(1, size) == text then
    return self
    end
  end







>
|
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function string:lstrip()
  return self:gsub("^%s+", "")
  end
function string:rstrip()
  return self:gsub("%s+$", "")
  end
function string:strip()
  local k1
  k1 = self:lstrip()
  return k1:rstrip()
  end
function string:startswith(text)
  local size = text:len()
  if self:sub(1, size) == text then
    return self
    end
  end