Hi guys
I need help to split a string into separate text values and collect them in a table or collection
The string comes from a sharepoint list
Art.Nr.: 23412 | Bez: asdfasdfasdfasdfasdfgasdfgdfhgsdf | Mng: 23 | Wunsch Datum: 25.09.2020 ||
Art.Nr.: 231 | Bez: dfSDFASDFASDFASDFASDFA | Mng: 3 | Wunsch Datum: 24.09.2020 ||
Art.Nr.: 2341 | Bez: sdfasdfsdafsadfasdfsadfsfas | Mng: 34 | Wunsch Datum: 17.09.2020 ||
I need all the values between:
"Art.Nr.: " and "|"
"Bez:" and "|"
"Mng:" and "|"
"Wunsch Datum:" and "|"
this thing "||" marks the end of a row
I've thought something like
Collect(varList;
{BST:
{Artnr: "23412";
Bez: "asdfasdfasdfasdfasdfgasdfgdfhgsdf";
Mng: "23";
Date: "25.09.2020"}
})
but for each row
no clue how to bring the split and collect function together or just to split them as needed
Collect(varList;
First(Split(ThisItem.'Bestell-Liste';"Art.Nr.: ").Result;
{BST:
{Artnr: ????????;
Bez: "asdfasdfasdfasdfasdfgasdfgdfhgsdf";
Mng: "23";
Date: "25.09.2020"}
}))
for any help thanks in advance