str_contento = String.TrimLeft(str_contento, nil); str_contento = String.TrimRight(str_contento, nil); trans("\r", "\n", false); trans("\t", " ", false); trans("\v", " ", false); while String.Find(str_contento, "\n" .. " ", 1, false) >= 0 do trans("\n" .. " ", "\n", false); end while String.Find(str_contento, " " .. "\n", 1, false) >= 0 do trans(" " .. "\n", "\n", false); end while String.Find(str_contento, "\n\n", 1, false) >= 0 do trans("\n\n", "\n", false); end while String.Find(str_contento, " " .. " ", 1, false) >= 0 do trans(" " .. " ", " ", false); end