Indy 9
|
function IndyStrToBool(const AString: String): Boolean;
When AString does not exist in either IndyFalseBoolStrs or IndyTrueBoolStrs, the value in AString is converted to a numeric value where 0 represents the Boolean value False, and any non-zero value represents the Boolean value True.