I have a need to delete all lines in a csv AFTER and INCLUDING a certain string. The string is as follows :
S_Channel_Alt_View
![enter image description here]()
The file should then look like this
![enter image description here]()
I've tried to set something up using Compare-Object but unable to get it to work.
Thank you!