Function to Increment a String Counter

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

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

More information:
This function accepts a lower case string and returns the incremented result. E.g. "aa" -> "ab", "zzz" -> "aaaa". Compatible with VB5, VB6, and VB.NET.

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

Declarations:

Code: