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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: remove 16 Zeros
by eghdam (Initiate) on Oct 13, 2015 at 11:49 UTC | |
by flexvault (Monsignor) on Oct 13, 2015 at 20:32 UTC |