How to seperate a String at different positions?
Show older comments
Hallo MatLab-Pros,
I have a string which looks like this: "DAT00000706LR0106700000100000002+000000194018602202101-0002-00010+000+0000000000+000+000+071+072008009000600000000000+00000+206+2060230000000000402+0000+000+001"
I'm trying to seperate it into little pieces, which are defined by length from a seperate Array. The DAT in the start can be ignored.
exp.: A = ( 4 2 2 1 1 5 6 4 4 ... and so on
So the new Array should somehow look like this:
0000 07 06 L R 01067 000001 0000 0002 ... and so on
Thanks
Mike
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!