游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [dc73f90efa]:

To Artifact [f99c2f64e2]:


1
2
3
4
5
6
7
8
9
10
11
12
13
function string:lstrip()
  if self == nil then
    return nil
    end
  local s = self:gsub("^%s+", "")
  return s
  end
function string:rstrip()
  if self == nil then
    return nil
    end
  local s = self:gsub("%s+$", "")
  return s

<
<
<
|
<







1



2

3
4
5
6
7
8
9
function string:lstrip()



  return self:gsub("^%s+", "")

  end
function string:rstrip()
  if self == nil then
    return nil
    end
  local s = self:gsub("%s+$", "")
  return s