Quantcast
Channel: Questions in topic: "string-splitting"
Viewing all articles
Browse latest Browse all 18

split TWO delimited strings into rows but keep the two sets of strings together in each row.

$
0
0

Each record has an identifier, and TWO fields with delimited strings that contain varying numbers (sometimes a single set, could be dozens of sets) of related data:

RecordIDItem_ListItem_Values

RecID1 Item1|Item2|Item3|Item4 Val1|Val2|Val3|Val4

I need to end up with:

RecID1 Item1 Val1

RecID1 Item2 Val2

RecID1 Item3 Val3

RecID1 Item4 Val4

I can easily split out ONE column into multiple rows, but how do I do this with TWO columns, keeping the sets of items together? Thanks for your consideration!


Viewing all articles
Browse latest Browse all 18

Trending Articles