← Docs
kotlin-stdlib / kotlin.js / RegExp / lastIndex

lastIndex

JS
1.1
var lastIndex : Int
(source)

The lastIndex is a read/write integer property of regular expressions that specifies the index at which to start the next match.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .