Convert hex string to decimal value

Convert hex string to decimal value

  
Is there a function to convert a hexadeciaml string into decimal value?

When I try to create one in my app, I encounter another challenge - how to loop through a string?

Thanks,

Stanley
Hi Stanley,

I'm not aware of such a function in the platform. If you are going to create one yourself, I'd advise you to create an extension. You can loop through a string (using SubStr and maintaining an index), but it is cumbersome.