Hi geeks, I need substring of an orinal string with a range as offset. I will explain. Say I have a range "11-29,39-72,99-100,103,107" in some part of program. I need to extract substring corresponding to theses ranges. If my strign ABCDEFGH........... so on, if need substring which strats at 11th position to 29th, then from 39h to 72nd, then the one at 103rd position and so. Is there any way to sort this out. any cpan module available? thanks in advance
In reply to substring within range by smartperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |