游戏王残局简化版

Artifact [ce9c5bb88f]
Login

Artifact [ce9c5bb88f]

Artifact ce9c5bb88f0c4fe8ba0d9c07bb6f3866510f5ea2c563bf6029066de230986930:


function string:lstrip()
  return self:gsub("^%s+", "")
  end
function string:rstrip()
  return self:gsub("%s+$", "")
  end
function string:strip()
  local h1
  h1 = self:lstrip()
  return h1:rstrip()
  end
function string:startswith(text)
  if self:sub(1, #text) == text then
    return self
    end
  end
function string:endswith(text)
  if self:sub(-#text) == text then
    return self
    end
  end