Help for this page
my $str = 'nodes0005'; substr($str,3,2,'AB'); ... nodAB005 # as required.
my $str = 'nodes0005'; my @chars = split //, $str; # Split the string into an array. ... } } print $out;