$ifmatch2 » History » Version 1
Per Amundsen, 08/10/2015 08:44 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$ifmatch2* |
||
4 | |||
5 | Returns the second parameter of an [[if|if-then-else comparison]]. |
||
6 | |||
7 | _Same as [[$v2]], see also [[$ifmatch]]._ |
||
8 | |||
9 | *Example* |
||
10 | |||
11 | <pre> |
||
12 | ; In this case '$ifmatch' will be 'text' and '$ifmatch2' will be 'sometext'. |
||
13 | if (text isin sometext) { |
||
14 | echo -ag ifmatch is $ifmatch2 |
||
15 | } |
||
16 | </pre> |