Read Tokens using a Delimiter

Category:
String Manipulation
Type:
Snippets
Difficulty:
Intermediate
Author:
Mark Witten

Version Compatibility:

More information:
ParameterValue() and ParameterCount() allow you to parse out "words" from a text string. Lets say TheString is "This,is,a,test". ParameterCount(",",TheString) will return 4 and ParameterValue(",",TheString,2) will return "is".

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

Declarations:

Code: