You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Instead of "0x" + str.substr(i, 2), you could try parseInt(str.substr(i, 2),16). Not much difference, but I guess it feels a bit more reliable :)

About

Avatar for Gordon @Gordon started