Switch to full style
ASP/ASP.net examples
Post a reply

ANSI code value of character

Thu Mar 31, 2011 12:52 am

Following code convert between the character and its ANSI code .
Code:
<% 
Dim intCh1 
, intCh2
intCh1 
= "87" 
intCh2
= "65" 
Response
.Write "The character for code <b>87</b> is " & Chr(intCh1 ) 
Response
.Write "The character for code <b>65</b> is " & Chr(intCh2) 
%> 



Code:
<% 
Dim strValue1 
, strValue2
strValue1
= "b" 
strValue2
= "B" 
Response
.Write "The ansi value of <b>b</b> is " & Asc(strValue1) & "<br>" 
Response
.Write "The ansi value of <b>B</b> is " & Asc(strValue2) & "<br>" 
%> 




Post a reply
  Related Posts  to : ANSI code value of character
 Handle Key event-keyboard-Get typed Character and its code     -  
 Character Operations     -  
 character recognition     -  
 Reading a Specific Character in php     -  
 Sending One lakh character in ajax     -  
 Find occurrences of each character in a string     -  
 character running automatically / jump /duck/ functions     -  
 i want code for connecting mobile and pc can u send me code     -  
 Freeman chain code algorithm code     -  
 code     -  

Topic Tags

ASP Basics