String to ASCII Codes/ASCII Codes to String

Category:
String Manipulation
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5, Visual Basic.NET, ASP

More information:
Use to dispose of problems with "special" characters when displaying HTML, for example. Characters like "\", "'", and """ often have meaning to the client layer, and escaping them to ASCII is a quick and efficient manner of passing text.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: