Jump to Real's How-to Main page

Tokenize a string

[tokenize.vbs]

Dim  tokens
tokens = Split("This is the string to be tokenized", " ")

For i=0 To UBound(tokens)
   WScript.Echo tokens(i)
Next

WScript.Quit(0)

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]