游戏王残局简化版

Artifact [faa57f08e9]
Login

Artifact [faa57f08e9]

Artifact faa57f08e9d2587d51b4d33f4f15872169522816b451332c10825eb760496fec:


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