How can we have the universal function to identify the starting and ending position of the uppercase substring from 2 kinds of string above.my $str_type1 = "ccaatTTTGACACACACAGAAgggca"; # no dash my $str_type2 = "--aatTTTGACACACACAGAAgggca"; # with dash # note: number of dash(es) can be >= 0
In reply to Finding Start/End Position of the Uppercase Substring by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |