ooptennoort
Board Regular
- Joined
- Mar 29, 2021
- Messages
- 67
- Office Version
- 365
- Platform
- Windows
I want to use "E" as a delimiter but need to keep it...
Using Text.PositionOf([Enumbers],"E",1) I know the position of every Last "E" and want to split by that position. Surely it can be done but the advanced M code...
I have tried variations on:
Splitter.SplitTextByPositions({0, (Text.PositionOf([Enumbers],"E",1)}), {"Enumber 1", "Enumber 2"})
Splitter.SplitTextByPositions({(Text.PositionOfAny([Enumbers],"E",1))}), {"Enumber 1", "Enumber 2"})
even played around with:
Splitter.SplitTextByPositions({0, _(Text.PositionOf([Enumbers],"E",1)}), {"Enumber 1", "Enumber 2"})
Splitter.SplitTextByPositions({each (Text.PositionOfAny([Enumbers],"E",1)}), {"Enumber 1", "Enumber 2"})
Anyone?
Using Text.PositionOf([Enumbers],"E",1) I know the position of every Last "E" and want to split by that position. Surely it can be done but the advanced M code...
I have tried variations on:
Splitter.SplitTextByPositions({0, (Text.PositionOf([Enumbers],"E",1)}), {"Enumber 1", "Enumber 2"})
Splitter.SplitTextByPositions({(Text.PositionOfAny([Enumbers],"E",1))}), {"Enumber 1", "Enumber 2"})
even played around with:
Splitter.SplitTextByPositions({0, _(Text.PositionOf([Enumbers],"E",1)}), {"Enumber 1", "Enumber 2"})
Splitter.SplitTextByPositions({each (Text.PositionOfAny([Enumbers],"E",1)}), {"Enumber 1", "Enumber 2"})
Anyone?
Enumbers =Source | Enumber 1 =Result | Enumber 2 =Result |
E10861 | E10861 | |
E108512 | E108512 | |
E3622768E3622769 | E3622768 | E3622769 |
E36250E362511999 | E36250 | E362511999 |
E1292E1294 | E1292 | E1294 |
E11758 | E11758 | |
E1290E1291 | E1290 | E1291 |
E967 | E967 |