游戏王残局简化版

Artifact [2e0c2f1d7c]
Login

Artifact [2e0c2f1d7c]

Artifact 2e0c2f1d7c217702675d9586a1cdf851d0800ba6f21d1341dc57c0378061e639:


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
function string:endswith(text)
  if self:sub(-#text) == text then
    return self
    end
  end