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

TBoolean8SysHelper.ToString

Boolean type helper for customizable boolean string representation.

Declaration

Source position: syshelpersbh.inc line 2

public class function TBoolean8SysHelper.ToString(

  const aValue: Boolean;

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TBoolean8SysHelper.ToString(

  const aBitFormatSettings: TBitFormatSettings;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TBoolean8SysHelper.ToString(

  const aTrueStr: string;

  const aFalseStr: string;

  const aCharsCase: TStringCaseFormat = scfUnchangedCase

):string; overload;

function TBoolean8SysHelper.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 Boolean8 type value to string using localized custom formatting.


Documentation generated on: Nov 23 2024