Tile - String - Index Of – Ylands
Jump to navigation
Jump to search
(Created page with " ---- {{Ylands scripting navbox}}") |
No edit summary |
||
Line 1: | Line 1: | ||
[[Image:Ylands_Tile_-_String_index_of.png]] | |||
*Returns '''position''' of the '''first''' occurrence of a specified '''text''' in a [[Ylands Tile - String literal|'''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'''. | |||
---- | ---- | ||
{{Ylands scripting navbox}} | {{Ylands scripting navbox}} |
Revision as of 15:15, 20 December 2018
- Returns position of the first occurrence of a specified text in a 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.