Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Execute()
- {
- using (var sr = new StreamReader(@"C:UsersPsuedoDocumentsVisual Studio 2015Projectsconverted_docx.txt"))
- {
- using (var sw = new StreamWriter(@"C:UsersPsuedoDocumentsVisual Studio 2015Projectsdocx_2.txt"))
- {
- string line = "";
- while ((line = sr.ReadLine()) != null)
- {
- var cols = line.Split('t');
- sw.WriteLine(cols[0] + 't' + cols[1] + 't' + cols[2] + 't' + cols[4] + 't' + cols[3]);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement