function indexOf
source · line 12public
public fun String.indexOf(value: String, startIndex: Long = 0L): Long
Extension receiver: String
Returns the first matching Unicode-scalar index at or after startIndex, or -1. The starting index must be in 0..charLength.
parameter value
source · line 12public
value: String
parameter receiver
source · line 12public
String
parameter startIndex
source · line 12public
startIndex: Long = 0L