This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:midx [2016/08/12 21:09] admin |
en:midx [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== MidX (Function) ===== | ===== MidX (Function) ===== | ||
==== Format ==== | ==== Format ==== | ||
- | **midx** ( [[stringexpressions|haystack_string_expression]] , // | + | **midx** ( [[stringexpressions|haystack_string_expression]] , [[regularexpressions|regular_expression]] |
- | **midx** ( [[stringexpressions|haystack_string_expression]] , // | + | **midx** ( [[stringexpressions|haystack_string_expression]] , [[regularexpressions|regular_expression]] |
returns [[stringexpressions|string_expression]] | returns [[stringexpressions|string_expression]] | ||
==== Description ==== | ==== Description ==== | ||
- | Returns the first substring that was matched by the regular expression. | + | Returns the first substring that was matched by the regular expression. If the expression does not match anything the empty string "" |
==== Note ==== | ==== Note ==== | ||
String indices begin at 1. | String indices begin at 1. | ||
Line 30: | Line 30: | ||
==== History ==== | ==== History ==== | ||
|1.1.2.7|New To Version| | |1.1.2.7|New To Version| | ||
+ | |1.99.99.53|Added start position < 0| |