Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.

iChr = UltraEdit.activeDocument.selection.split(",");
for (i=0;i<iChr.length;i++) {
if(iChr[i]=="00")
continue;
UltraEdit.activeDocument.write( String.fromCharCode(parseInt( iChr[i], 16 )) );
}

var iLines = UltraEdit.activeDocument.selection; /* get selection - even multi lines are ok */
var iLines = iLines.replace(/[\\ ]/g,""); /* remove spaces and continuation chars */
var iLineArr = iLines.split("\r\n"); /* explode lines into an array */
var chrCount = 0; /* we will ignore every 2nd hex (00) */
var oStr = ""; /* gather output in this */
for (i=0;i<iLineArr.length;i++) { /* run through lines */
iChr = iLineArr[i].split(","); /* explode single line into array */
for (j=0;j<iChr.length;j++) {
if(iChr[j].length==0) { /* just in case */
continue; /* = skip empty */
}
chrCount++; /* hex char counter */
if(chrCount % 2 == 0) { /* counter modulus 2 */
continue; /* = skip every 2nd char */
}
if(iChr[j]=="00") { /* break at field delimiter */
oStr = oStr + "\r\n"; /* DOS line terminators: CR LF */
continue;
}
oStr = oStr + String.fromCharCode(parseInt( iChr[j], 16 ));
}
}
/* write back the text */
UltraEdit.activeDocument.write(oStr);123greetings.com
Alem2358@aol.com
BellExpressVu@bell.ca
CNET_Networks_Member_Services@newsletters.online.com
DPJohnston@shaw.ca

var txt = "j";
UltraEdit.outputWindow.write(txt.charCodeAt(0).toString(16));
