https://nl.mathworks.com/help/matlab/ref/string.extractbetween.html
extractBetween - Extract substrings between start and end points - MATLAB
This MATLAB function extracts the substring from str that occurs between the substrings startPat and endPat.
end pointsextractsubstringsstartmatlab