Text headers

I want only headers from text file then should i do

How does your text file look like? Is it in a json format?

Hi @Yogita_Gaikwad if your header is in first line of the text file then you can split to get headers

Split(TextFileVar,Environment.NewLine)(0)

my file in .txt format

image
All headers come in first line & i want first header name on first line then second header on second line likewise