Hello community,
i am new on this platform and hope you can help me with my problem. Reading different solvings of string manipulations and other topics, i can´t find a solution for my special problem.
What do i want ?
I have exact one string with information in it. This string is not sorted or everytime in the same order. I have Keywords and as delimiter the comma, but also amounts in it (Problem to split by comma)
Keywords: AB , BC, CD, DE ( one or all or nothing of it)
delimiter: ,
Example:
AB 123554, BC 123,54, CD H Sven, 22.10.2021, #text to ignore
or
BC 123,54, CD H Sven
i want to split the information into new strings:
Assign:
AB = 123554
BC = 123,54
CD = H Sven
Date = 22.10.2021
or
AB = is empty
BC = 123,54
CD = H Sven
Date = is empty
maybe this is easy for you, but i am struggling.
Thank you very much to help with this.
Jay