in reply to String adding

Hi Tim,

You can also go with this...

$_ = '0FB0306F207265616420746869733F';
$_ =~s#([A-F0-9]{2})#$1+#g;
$_=~s#\+$##;
print hex($_);


regards
Franklin

Don't put off till tomorrow, what you can do today.