I need help with deleting lines. So the data I extracted from a txt file has value
“2019
February
25
"
With a lot more empty lines in between, so when I try to write back to excel, the column looks super large. I want it to be “2019 February 25”. I tried both Replace(”\n",“”) and Replace(Environment.NewLine, “”), they both not working. And I also tried Split({Environment.NewLine},StringSplitOptions.RemoveEmptyEntries) , not working as well
Hi @Vijay_Tulsalkar
Nice string. Can you dissect it for us part by part to explain what it does?
I guess vb is some action. so you filter ctrl, lf?, tab, cr? and newline. Then remove all empty spaces?