$string =~ m/\s(\d+)\s/; $nposition = $1;