http://www.perlmonks.org?node_id=1005382


in reply to indexing in strings

The first step for a good program is a clear task description!

> ...and then add, respectively, 'I's and 'O's (or the opposite) in the start and end positions.

??? Please clarify!

Cheers Rolf