Help for this page

Select Code to Download


  1. or download this
    my $string = '01:01:2000,14:01:12,1.584167';
    my $min = substr($string, 14, 2);
    print $min;
    
  2. or download this
    my $string = '01:01:2000,14:01:12,1.584167';
    my $min = (split /:/, (split /,/, $string)[1])[1];
    print $min;