Not about MATLAB, and some of the answers give the impression of being directly from commercial interests.
Jan's answer is good but the colon operator should be replaced with a colon string Index(:) = {':'}
Text of question appears to have been corrupted.