Index
Arguments
Explanation
Returns the index of the start of the substring
in the given string. Returns -1
if not found.
Examples
Last updated
Returns the index of the start of the substring
in the given string. Returns -1
if not found.
Last updated
type
returns
method
number
name
type
description
needle
string
The substring to search for