A Better chr() Function

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

Version Compatibility: Visual Basic 6

More information:
This function is the same as chr(), except it won't throw an exception if you pass an argument bigger than 255 or smaller than 0.

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

Declarations:

Code: