Extracting substrings at specified positions
<p>How to extract substrings  from a string at specified positions
For e.g.: ‘ABCDEFGHIJKLM’. I have To extract the substring from  3 to 6 and 8 to 10.</p>

<p>Required output: DEFG, IJK</p>

<p>Thanks in advance.</p>
