SG RegExp
Substrings

© 1998 by Stinga.

Overview Properties Methods Pattern Syntax

Substrings is a collection of Substring objects. After this code is executed:

  Dim re
  Set re = CreateObject("sgRegExp.RegExp")
  re.Expression = "(a+)[^c]*(c+)"
  re.Match "a bb ccc dddd"

Substrings collection will contain three items:

Item(0) = "a bb ccc"
Item(1) = "a"
Item(2) = "ccc"