Search and replace a string.

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

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

More information:
Bulletproof code written in Visual Basic 2.0 for complete compatibility.

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

Declarations:

Code: