@vishnu_prasad21
Lets assume ABC : FGH is a string value in a column in a row
with the named split function you can create two string lists, 1 for each column and later you can merge/combine the two lists. In case of you need more help just provide a sample Excel file for us and we can work out a demo xaml.
@vishnu_prasad21
Fortunately the situation were easier as the Excel had 2 columns and there were no need to use the split method.
In my demo XAML I balanced for you the classical style with different UiPath Activities and some LINQ statement
Kindly note this is one implementation of many other options and can be adjusted as well.
First Part: Creating Value Lists
From each column a string list were retrieved
Second Part: Appending one list to the other
Showcasing the mode Col2 after Col1 Or Col1 after Col2 Appending with an if statement
Condition Boolvariable can be later caluclated eg on some triggers (in your case isCar, isMotoCycle)
Third Part: Creating a Result Datatable
Classical done with for each and add data row
So we get a datatable ready to write back e.g. to an excel file