[Overview][Constants][Types][Procedures and functions] | Reference for unit 'strutils' (#rtl) |
Returns one of two strings, depending on a boolean expression
Source position: line 0
function IfThen( |
AValue: Boolean; |
const ATrue: String; |
AFalse: String |
):String; |
AValue: Boolean; |
const ATrue: String |
):String; |
AValue |
|
Determines which of the two possibilities to take |
ATrue |
|
String to return if the expression evaluates as True. |
AFalse |
|
String to return if the expression evaluates as false. Default is the empty string. |
Either AFalse or ATrue, depending on the expression.
AValue |
|
Determines which of the two possibilities to take |
ATrue |
|
String to return if the expression evaluates as True. |
Either AFalse or ATrue, depending on the expression.
IfThen returns ATrue if AValue is True, and returns AFalse if AValue is false.
None.
|
Check whether a string occurs in an array of strings, observing case. |
|
|
Check whether a string occurs in an array of strings, disregarding case. |
No notes exist for this page yet.