Sting Token Module

Category:
String Manipulation
Type:
Modules
Difficulty:
Intermediate
Author:
Bill Denzel

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
I built a useful token module to break up a input string into tokens delimited by an input char(s). Mulitple delimiters are considered to be one. TokenizeString() stores the tokens found into a dynamic array available by the GetToken() function. The positions of all the delimiters found in the input string are also stored in an array, and are available using DelimiterPosition() and DelimiterCount().

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download modtoken.zip