Project

General

Profile

$v2 » History » Version 1

Per Amundsen, 08/10/2015 08:42 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$v2*
4
5
Returns the second parameter of an [[if|if-then-else comparison]].
6
7
_Same as [[$ifmatch2]], see also [[$v1]]._
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 v2 is $v2
15
}
16
</pre>