SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void Execute()
  2.     {
  3.  
  4.         using (var sr = new StreamReader(@"C:UsersPsuedoDocumentsVisual Studio 2015Projectsconverted_docx.txt"))
  5.  
  6.         {
  7.             using (var sw = new StreamWriter(@"C:UsersPsuedoDocumentsVisual Studio 2015Projectsdocx_2.txt"))
  8.             {
  9.                 string line = "";
  10.                 while ((line = sr.ReadLine()) != null)
  11.                 {
  12.                     var cols = line.Split('t');
  13.                     sw.WriteLine(cols[0] + 't' + cols[1] + 't' + cols[2] + 't' + cols[4] + 't' + cols[3]);
  14.                 }
  15.  
  16.  
  17.  
  18.             }
  19.  
  20.  
  21.  
  22.         }
  23.  
  24.  
  25.     }
  26.  
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top