Encoding Strings using Escape Characters: Basic Example
Version Compatibility: Visual Basic 6, Visual Basic 5
This example encodes the following as:
- vbCr to "\c"
- vbLf to "\l"
- "\" to "\\"
Instructions: Copy the declarations and code below and paste directly into your VB project.