Hi All,
I'm trying to merge/join a group of capsules when they occur within another capsule/condition. For example, I would like to merge capsule A when they occur within capsule B. C is the desired output.
Input A: |--A--| |---A---| |--A--| |-A-| |---A---| |--A--| |---A---|
Input B: |-------------B-----------------| |----------------B-----------------|
Output: |-------------C-------------| |---------------C-------------|
It seems like it should be relatively simple but I can't figure out how to achieve this.
Any help is appreciated!