Hi,
- First read your excel to datatable.
- open for each row loop
- Trim the column title like row(“category”).trim
- Split by new line as
arr = row(“category”).tostring.Split(Environment.NewLine.TocharArray) - Now assign arr(0) to category and arr(1) to title