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