this are two strings
a= PVT corner | TYP_25 | SLOW_125 | SLOW_0_ | SLOW_40 | FAST_125
b= Description | RD | WR | A | RD | WR | RD | WR | RD | WR | RD | WR
I need to check the length of each item in "a" and compare with "b". And if any "|" found in between item in "b" then it has to be concatenated with a's item, like this, "RD" ,"WR" and "A" should be concatenated with TYP_25 of a. how to Merge two strings based on this condition?