Convert string to hex code in javascript

 function convertToHex(str) {

    var hex = '';

    for(var i=0;i<str.length;i++) {

        hex += ''+str.charCodeAt(i).toString(16);

    }

    return hex;

}

Comments

Popular posts from this blog

WR3D wwe 2k19 MOD apk direct download link for Android

Download wwe2k17 wr3d

How to make resizeable window in pygame and make content adjustable according to window size