C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Visual Studio »

Convert ascii to Character strings


Posted Date: 07 Aug 2009    Resource Type: Code Snippets    Category: Visual Studio
Author: R.Jaya kumar (JK)Member Level: Diamond    
Rating: 1 out of 5Points: 7



Description :


This code shows how to Convert ascii to Character strings

Code :

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim x As String = "JESUS NEVER FAILS"
Dim x2 As String
Dim Z3 As String

For i As Integer = 0 To x.Length - 1
Dim x1 As String = Asc(x.Substring(i, 1))
x2 = x2 & x1
Next
Response.Write(" Ascii Code : " + x2)
Dim z1 As String = x2
For i As Integer = 0 To z1.Length - 1 Step 2
Dim z2 As String = Chr(z1.Substring(i, 2))
Z3 = Z3 & z2
Next
Response.Write(" Character : " + Z3)
End Sub



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Convert ascii to Character strings  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: MMS
Previous Resource: Allow only numbers in text box except backspace button
Return to Discussion Resource Index
Post New Resource
Category: Visual Studio


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use