Project

General

Profile

Actions

Added in 1.9.0

$v2

Returns the second parameter of an if-then-else comparison.

Same as $ifmatch2, see also $v1.

Example

; In this case '$v1' will be 'text' and '$v2' will be 'sometext'.
if (text isin sometext) {
  echo -ag v2 is $v2
}

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT