JavaScript String method: includes()
[this page | pdf | back links]
The includes() method (when applied to a JavaScript
string)
returns converts Unicode values into characters.
It
has the following syntax with the following parameters:
string.includes(searchstring, start)
|
Parameter
|
Required / Optional
|
Description
|
|
searchstring
|
Required
|
String to be searched
for
|
|
start
|
Optional
|
(Default is 0). Position at which to start
search
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript String Variables