Tile - String - Includes – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
*'''Returns''' (true/false) '''whenever''' given [[Ylands Tile - String literal|'''string''']] '''contains''' characters of a '''specified''' '''string'''.
*'''Returns''' (true/false) '''whenever''' given [[Ylands Tile - String literal|'''string''']] '''contains''' characters of a '''specified''' '''string'''.
*'''Start index'''  
*'''Start index'''  
**Position at which to start the search
**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 ...
**Script counts positions from zero. 0 is the first position in a string, 1 is the second, 2 is the third ...



Revision as of 15:18, 20 December 2018

Ylands Tile - String includes.png

  • Returns (true/false) whenever given string contains characters of a specified string.
  • 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 ...

Notes

  • Instruction is case sensitive.



Template:Ylands scripting navbox