Am 04.11.2019 um 09:58 schrieb Sven Schreiber:
Am 03.11.2019 um 10:23 schrieb Marcin Błażejowski:
But if you already know that your input can only be hex integers,
perhaps simply do something like this:
<hansl>
matrix m
strings s2 = defarray("A","B")
string sf = toupper(flatten(s2))
string s = strsub(sf, "A", "10")
Sorry Marcin, of course this won't work if you have several (hex) digits
in your input numbers. Then I can only think of more clumsy loop-based
solutions, like you probably did yourself.
cheers
sven