Help for this page

Select Code to Download


  1. or download this
    my @chars = split //, $inp_row;
    my $cnt = 0;
    for (@chars) { $cnt++ if ($_ eq $de) }
    
  2. or download this
    my $cnt = grep { $_ eq $de } split m{}, $inp_row;