I have string which has a fix length of 14… and the string consist numbers from 0 to 9 … now i have to extract 3 different sub strings from that where 1st substring will have 1st 2 chars then 2nd sub string will have next 6 chars and last sub string will have last 6 chars.. eg.
string = "12345678901234";
substr1 =" 12";
substr2 = "345678";
substr3 = "901234";
like this… any one help
1 Answer