in reply to Re: Trying to use substring to find a reverse complement in DNA,
in thread Trying to use substring to find a reverse complement in DNA,

... you need to use less than not greater than ...

I would say tryingnottofailmytes needs to use less-than-or-equal
    $i <= $length-1
as the for-loop condition in the OPed code.


Give a man a fish:  <%-{-{-{-<