I have a serie of digits that are string, for example : IN : '01110100001101001001110100'
I want to split as follow: OUT: ['01110100', '0', '01101001', '0','01110100]
We can notice that ninth '0' is a separator of list of digits that are binary.
Said otherwise : first eighth, sperator'0',next height, separator '0', next height, separator '0', etc
I know how to split using nth element (Split string every nth character?), but the issue here is a bit more complicated:there is a separator '0'
Thanks a lot for your help.
Kindest regards