Esempio n. 1
0
        public static void TrimNewLine(string filePath)
        {
            if (!File.Exists(filePath))
            {
                return;
            }

            File.WriteAllText(filePath, UStr.TrimNewLine(File.ReadAllText(filePath)));
        }