Length
Previous  Next

Gets the length of the match.
Syntax: Length As String

Example:
's is the string that was searched for the regex pattern.
s = StrRemove(s,Match1.Index,Match1.Length)
s = StrInsert(s,Match1.Index,StrToUpper(Match1.GetGroup(1)) 'This code replaces the match with a different value.