my $first = (split//,$string)[0]; #### print +(split//,$string)[4];