in reply to Perl Exp - Retrieve value

join('', (map { /(.)/g } $str)[5,6])
but that could be simplified using substr. The exercise left to the user.