DAGDA SEARCH | Back to results | Support

indexOf

Source: https://codeql.github.com/codeql-standard-libraries/javascript/predicate.string$indexOf.3.html

CodeQL library for JavaScript/TypeScriptcodeql/javascript-all 3.0.2 (changelog, source)IndexSearch

Primitive predicate string::indexOf

Returns the index of the n’th (starting at 0) occurrence of the given string within the receiver, starting at the given 0-based offset. Has no result if the string does not occur in the receiver.

int indexOf(string substringToFind, int n, int startAt)