游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [11e159b24a]:

To Artifact [dc73f90efa]:


10
11
12
13
14
15
16











17
    return nil
    end
  local s = self:gsub("%s+$", "")
  return s
  end
function string:strip()
  return self:lstrip():rstrip()











  end







>
>
>
>
>
>
>
>
>
>
>

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
    return nil
    end
  local s = self:gsub("%s+$", "")
  return 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
function string:endswith(text)
  if self:sub(-#text) == text then
    return self
    end
  end