I'm able to convert a character to its corresponding character/ASCII code using "Asc(CHAR)". What can I use to convert this returned integer back to its original character form?
This question is related to
vb.net
character-encoding
ascii
character
character-codes
you can also use
Dim intValue as integer = 65 ' letter A for instance
Dim strValue As String = Char.ConvertFromUtf32(intValue)
this doesn't requirement Microsoft.VisualBasic reference
Use the Chr or ChrW function, Chr(charNumber)
.
You could use the Chr(int) function
Source: Stackoverflow.com