Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$str='...............................GAGAACATTAGTGGGTGCAGCGCACAAGCATGG +CACATGTATACGTATGTAA..................';
$rightmost_position_of_letter = rindex ($str,[A|T|C|G]);
$rightmost_position_of_letter = rindex ($str,[ATCG]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Proper usage of rindex function?
by 1nickt (Canon) on Dec 29, 2017 at 12:19 UTC | |
by Anonymous Monk on Dec 29, 2017 at 12:26 UTC | |
by 1nickt (Canon) on Dec 29, 2017 at 12:36 UTC | |
by Anonymous Monk on Dec 29, 2017 at 12:42 UTC | |
by 1nickt (Canon) on Dec 29, 2017 at 12:54 UTC | |
| |
by Anonymous Monk on Dec 29, 2017 at 16:35 UTC | |
by Anonymous Monk on Dec 29, 2017 at 21:33 UTC |