Sideway
output.to from Sideway
Draft for Information Only

Content

VBScript Properties of RegExp Match Object
 FirstIndex Property
  Syntax
  Remark
  ReqVersion
  Applied to
 Length Property
  Syntax
  ReqVersion
  Applied to
 SubMatches Property
  Syntax
  Remark
  ReqVersion
  Applied to
Match SubMatches Property
 Count Property
  Syntax
  Argument
  Remark
  Applied to
 Item Property
  Syntax
  Argument
  Remark
  Applied to

VBScript Properties of RegExp Match Object

Some typical predefined Elements are.

  •  RegExp Object:
    • Global Property
    • IgnoreCase Property
    • Pattern Property
    • Execute Method
      • Count Property

FirstIndex Property

last updated 11 Dec 2017

is to return the position in a search string where a match of associated Match Object occurs.

Syntax

Set rematvar=reobjvar.Execute(string).Item(key)
rematvar.FirstIndex

Remark

  • The FirstIndex property uses a zero-based offset from the beginning of the search string. In other words, the first character in the string is identified as character zero (0).

ReqVersion

5

Applied to

RegExp Object, Match Object

Length Property

last updated 11 Dec 2017

is to return the length of a match of associated Match Object found in a search string.

Syntax

Set rematvar=reobjvar.Execute(string).Item(key)
rematvar.Length

ReqVersion

5

Applied to

RegExp Object, Match Object

SubMatches Property

last updated 11 Dec 2017

is to return all submatches of associated Match Object in form of SubMatches Object, called SubMatches Collection..

Syntax

Set rematvar=reobjvar.Execute(string).Item(key)
rematvar.SubMatches

Remark

  • A SubMatches collection contains individual submatch strings, and can be created only by using the Execute method of the RegExp object. The SubMatches collection's properties are read-only.
  • When a regular expression is executed, zero or more submatches can result when subexpressions are enclosed in capturing parentheses.
  • Each item in the SubMatches collection is the string found and captured by the regular expression.

ReqVersion

5

Applied to

RegExp Object, Match Object

Match SubMatches Property

The returns of the SubMatches Property of Match Object is a Collection of SubMatch Objects and is contained in a SubMatches Collection.

Count Property

last updated 09 Dec 2017

is to return the read-only number of elements in the associated Collection or Object.

Syntax

objvar.Count

Argument

objvarRequired. The variable name of the associated Object instantance.CountRequired Property Keyword. To specify the Count Property of an Object..Required. The dot notation used to access the Property of an object.

Remark

  • Count Property is a genetic Property for all being supported Object.
  • Count Property is a read-only property.

Applied to

Dictionary Object, Drives Collection, Files Collection, Folders Collection, Matches Collection

Item Property

last updated 09 Dec 2017

is to return the read-only item of an element in the associated collection or Object according to the specified key

Syntax

objvar.Item(key)

Argument

objvarRequired. The variable name of the associated Object instantance.ItemRequired Property Keyword. To specify the Item Property of an Object.keyRequired. To specify the key used to return the item of the specified key..Required. the dot notation used to access the Property of an object.(…)Required. the brackets to enclose the parameters.

Remark

  • Item Property is a genetic Property for all being supported Object.
  • Item Property is a read-only property.
  • An error will return if the specified key is not found.

Applied to

Matches Collection,

©sideway

ID: 180500021 Last Updated: 5/21/2018 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019