split strip and matrix code