Return a String Less a particular Character

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

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
You can use this function to find a specific character in a given string variable, and then return that string sans the character for which you searched. Example provided in the source.

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

Declarations:

Code: