Mar 10, 2005 #1 Jay2003 Programmer Feb 26, 2003 147 GB Hi, How do I convert a letter to it's ASCII value and also possibly make the ascii value say -3 or plus 3. The reason is that I am trying to compare passwords that have been converted to ASCII and moved up or down a certain length. Thanks in advance J
Hi, How do I convert a letter to it's ASCII value and also possibly make the ascii value say -3 or plus 3. The reason is that I am trying to compare passwords that have been converted to ASCII and moved up or down a certain length. Thanks in advance J
Mar 10, 2005 #2 tsuji Technical User Jul 25, 2001 10,675 US Jay2003, You have asc() and its reverse chr(). Code: s="password" for i=0 to len(s)-1 schar=mid(s,i+1,1) nascii=asc(schar) wscript.echo schar & vbcrlf & nascii & vbcrlf & chr(nascii) next regards - tsuji Upvote 0 Downvote
Jay2003, You have asc() and its reverse chr(). Code: s="password" for i=0 to len(s)-1 schar=mid(s,i+1,1) nascii=asc(schar) wscript.echo schar & vbcrlf & nascii & vbcrlf & chr(nascii) next regards - tsuji