Project

General

Profile

Actions

Added in 1.9.0

$v1

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

Same as $ifmatch, see also $v2.

Example

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

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT