Matlab Split Path With Only One Ending Ochem Functional Groups