Previous PageNext Page

7.22.4 lastIndex Property

Indicates where the last successful match begins in a string that was searched.
 

Syntax

RegExp.lastIndex

RegExp
The name of the RegExp object.

Remarks

The lastIndex property is zero-based. Its value is modified whenever a successful match is made.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page