Tile - String - Includes – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - String includes to Ylands:Tile - String - Includes: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Includes(Source, Text, Start index) == | |||
=Notes= | [[File:YlandsTile-83.png]] | ||
*Instruction is '''case''' '''sensitive'''. | |||
<pre>includes(text: any, startIndex: number): boolean;</pre> | |||
=== Parameters === | |||
==== text ==== | |||
==== startIndex ==== | |||
=== Returns === | |||
'''boolean''' | |||
=== Description === | |||
Returns (true/false) '''whenever''' given '''string''' '''contains''' characters of a specified '''text'''. | |||
=== Notes === | |||
* '''Start index''' - position at which to start the search. | |||
* Script counts positions from zero. 0 is the first position in a string, 1 is the second, 2 is the third ... | |||
* Instruction is '''case''' '''sensitive'''. | |||
Line 14: | Line 33: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:53, 8 July 2021
Includes(Source, Text, Start index)
includes(text: any, startIndex: number): boolean;
Parameters
text
startIndex
Returns
boolean
Description
Returns (true/false) whenever given string contains characters of a specified text.
Notes
- Start index - position at which to start the search.
- Script counts positions from zero. 0 is the first position in a string, 1 is the second, 2 is the third ...
- Instruction is case sensitive.