If Then Else (String)

Description

If the condition is satisfied on the IF input, the THEN input is returned. Otherwise, the ELSE input is returned.

Input

  • IF [STRING]

  • THEN [STRING]: a list of strings (THEN result)

  • ELSE [STRING]: a list of strings (ELSE result)

Output

  • RESULT : Either THEN or ELSE

Parameters

  • Condition: The condition to be satisfied on the IF input

    • non-empty set: true if IF is not empty

    • contains spaces: true if any string in the set contains spaces

    • contains spaces or punctuation: true if any string in the set contains spaces or punctuation

Output scores can be aggregated and/or normalised.