游戏王残局简化版

Artifact [a728f1d5af]
Login

Artifact [a728f1d5af]

Artifact a728f1d5aff482b7b9c7ed3e402b4886207a14a1fc364600c9facc9edf54e40e:


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)
  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