06-10-2019 08:48 AM
Hi, I'm trying to remove dashes from a hex number. How do I do this? For example, I would have
12-34-56-78-91 and turn it into 1234567891. Thanks
06-10-2019 09:12 AM
If both your input and output are strings, Search And Replace String on the String palette will do the trick. Just ensure that the replace all? input is TRUE.
If you want the output as a number, use Scan From String on the output of the search & replace using %x as the format string to indicate a hexadecimal conversion. If you want 10 hex digits as in your example, you'll need to use a 64 bit integer.
Andy