I need to combine string1
and string2
like first result.
After that, I only want the unique information, without "color type information" like the second result.
string1 = "Green | Green | Red | Orange | Blue | Cut | Yellow | Yellow"
string2 = "Color | Color | Color | Color | Color | Technical | Color | Color"
First result: string3 = Green Color | Green Color | Red Color | Orange Color | Blue Color | Cut Technical | Yellow Color | Yellow Color
Second result: string4 = Green | Red | Orange | Blue | Cut | Yellow