Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
    my $str='ABC---DR----EEEEEGGGG-GRE-RED----KKKK---';
    my $len_seq = () = $str =~ /[^-]/g;
    
  2. or download this
    perldoc -q count