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

Top 5 best Professional video editing apps for Andoid