interface IndexOfCP {
    $indexOfCP: [StringExpression<string>, StringExpression<string>] | [StringExpression<string>, StringExpression<string>, NumberExpression] | [StringExpression<string>, StringExpression<string>, NumberExpression, NumberExpression];
}

Properties

Properties

Searches a string for an occurrence of a substring and returns the UTF-8 code point index of the first occurrence. If the substring is not found, returns -1