my $nth = (split ' ', $str)[3];