in reply to remove 16 Zeros
if you know that the 'pvid' is always 32 characters then:
but also reading some more documentation wouldn't hurt!my $pvid = "00c1be9a467335ce0000000000000000"; my $newpvid = substr( $pvid, 0, 16 ); print "\$newpvid: $newpvid\n";
Regards...Ed
"Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom