This shows you the differences between two versions of the page.
en:instr [2016/08/12 12:51] admin |
en:instr [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Instr (Function) ===== | ||
- | ==== Format ==== | ||
- | **instr** ( // | ||
- | **instr** ( // | ||
- | **instr** ( // | ||
- | |||
- | returns [[integerexpressions|integer_expression]] | ||
- | |||
- | ==== Description ==== | ||
- | Check to see if the string // | ||
- | |||
- | You may optionally specify a starting location for the search to begin // | ||
- | |||
- | An optional [[booleanexpressions|boolean_expression]] may be used to specify that the search will treat upper and lower case letters the same. | ||
- | |||
- | ==== Note ==== | ||
- | String indices begin at 1. | ||
- | |||
- | ==== Example ==== | ||
- | < | ||
- | print instr(" | ||
- | print instr(" | ||
- | </ | ||
- | will display | ||
- | < | ||
- | 4 | ||
- | 8 | ||
- | </ | ||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.6.55|New to Version| | ||
- | |1.99.99.53|Added start position < 0| | ||
- | |||