Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function hex2uint(hex_string,
result, power, MSD ) {
result = 0;
power = 0;
MSD = substr (hex_string, 1, 1);
for (strpos = length(hex_string); strpos > 0; strpos--)
{
digit = substr(hex_string, strpos, 1);
if (match(digit, /[a-fA-F]/))
{
gsub(/[aA]/, "10", digit);
gsub(/[bB]/, "11", digit);
gsub(/[cC]/, "12", digit);
gsub(/[dD]/, "13", digit);
gsub(/[eE]/, "14", digit);
gsub(/[fF]/, "15", digit);
}
result = result + digit*(16**power);
power++;
}
return (result);
}
function myfunction(param1, local1,local2,local3) {
if (length(param1) > 20) {
local1 = substr(param1,1,10)
local2 = substr(param1,11,20)
local3 = substr(param1,21,length(param1))
return local1" "local2" "local3
}
}