Javascript String getASCIIfunction()
/*/*w ww. j a va 2 s . c o m*/ Static jCube.String.getASCII 2009, may 9 Converts string to ASCII table code Retuns an array with ASCII code */ String.prototype.getASCII = jCube.String.getASCII = function() { var codes = []; for ( var i=0; i<this.length; i++) { codes[i] = this.charCodeAt(i); } return codes; }