Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
en:instr [2016/08/04 09:23] admin [History] |
en:instr [2016/08/12 12:27] admin |
**instr** ( //haystack_expr// , //needle_expr// )\\ | **instr** ( //haystack_expr// , //needle_expr// )\\ |
**instr** ( //haystack_expr// , //needle_expr// , //start_expr// )\\ | **instr** ( //haystack_expr// , //needle_expr// , //start_expr// )\\ |
**instr** ( //haystack_expr// , //needle_expr// , //start_expr// , //boolean_expr//)\\ | **instr** ( //haystack_expr// , //needle_expr// , //start_expr// , [[booleanexpressions|boolean_expression]])\\ |
| |
returns //positive_integer_value// | returns //positive_integer_value// |
You may optionally specify a starting location for the search to begin //start_expr//. If the start is 1 or greater the search will begin from the specified character from the start. If the start is < 0 then the search will begin from the nth character from the end. The search will ALWAYS look forward. | You may optionally specify a starting location for the search to begin //start_expr//. If the start is 1 or greater the search will begin from the specified character from the start. If the start is < 0 then the search will begin from the nth character from the end. The search will ALWAYS look forward. |
| |
An optional //boolean_expr// may be used to specify that the search will treat upper and lower case letters the same. | An optional [[booleanexpressions|boolean_expression]] may be used to specify that the search will treat upper and lower case letters the same. |
| |
==== Note ==== | ==== Note ==== |