includes

The includes method determines whether a string contains the characters of a specified string.

 

Syntax

System.Boolean includes( searchvalue,  start);

 

Parameters

searchvalue

String to search for.

start

[Optional] Index position to start the search. Default 0.

 

Return Value

Returns Value True if the string contains the value, False otherwise.

 

Remarks

Member of string.

 

Example