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 reply to Re: remove 16 Zeros
by flexvault
in thread remove 16 Zeros
by eghdam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |