Count
Arguments
Explanation
Returns the amount of times the given substring (needle
) appears within the string.
Examples
Last updated
Returns the amount of times the given substring (needle
) appears within the string.
Last updated
type
returns
method
number
name
type
description
needle
string
The substring to search for