Unit 'syshelpers' Package
[Overview][Types][Classes][Variables][Index] [#rtl]

TLongBoolSysHelper.ToString

Boolean type helper for customizable boolean string representation.

Declaration

Source position: syshelpersbh.inc line 2

public class function TLongBoolSysHelper.ToString(

  const aValue: Boolean;

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TLongBoolSysHelper.ToString(

  const aBitFormatSettings: TBitFormatSettings;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TLongBoolSysHelper.ToString(

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TLongBoolSysHelper.ToString(

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

Arguments

aValue

  

Boolean value that will be converted to string.

aTrueStr

  

Custom string used for representation of boolean TRUE state.

aFalseStr

  

Custom string used for representation of boolean FALSE state.

aCharsCase

  

Optional string casing.

Function result

Helper function result string.

Arguments

aBitFormatSettings

  

Record holding custom strings for boolean to string conversion.

aCharsCase

  

Optional string casing.

Arguments

aTrueStr

  

Custom string used for representation of boolean TRUE state.

aFalseStr

  

Custom string used for representation of boolean FALSE state.

aCharsCase

  

Optional string casing.

Arguments

aCharsCase

  

Optional string casing.

Description

Convert LongBool type value to string using localized custom formatting.


Documentation generated on: Oct 27 2024