Project

General

Profile

Actions

Added in 1.9.0

$ifmatch2

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

Same as $v2, see also $ifmatch.

Example

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

Updated by Per Amundsen over 9 years ago · 2 revisions

Also available in: PDF HTML TXT