StiFunctionsStrings Class

Namespace: Stimulsoft.Report.Dictionary

Methods

Method Returns Description
DateToStrPt static string  
abc static string  
arabic static string  
compare static number  
convertToBase64String static string  
create static void  
dateToStr static string  
dateToStrPl static string  
dateToStrPtBr static string  
dateToStrRu static string  
dateToStrUa static string  
insert static string  
left static string  
length2 static number  
mid static string  
parseDateTime static DateTime  
parseDecimal static number  
parseDouble static number  
parseLong static number  
persian static string  
remove static string  
replace static string  
right static string  
roman static string  
strToDateTime static DateTime  
strToNullableDateTime static DateTime  
substring static string  
toCurrencyWords static string  
toCurrencyWords2 static string  
toCurrencyWordsAr static string  
toCurrencyWordsBg static string  
toCurrencyWordsEnGb static string  
toCurrencyWordsEnIn static string  
toCurrencyWordsEs static string  
toCurrencyWordsFr static string  
toCurrencyWordsNl static string  
toCurrencyWordsPl static string  
toCurrencyWordsPt static string  
toCurrencyWordsPtBr static string  
toCurrencyWordsRu static string  
toCurrencyWordsThai static string  
toCurrencyWordsTr static string  
toCurrencyWordsTr2 static string  
toCurrencyWordsUa static string  
toCurrencyWordsZh static string  
toLowerCase static string  
toOrdinal static string  
toProperCase static string  
toUpperCase static string  
toWords static string  
toWordsAr static string  
toWordsBg static string  
toWordsEnIn static string  
toWordsEs static string  
toWordsEs2 static string  
toWordsFa static string  
toWordsPl static string  
toWordsPt static string  
toWordsRu static string  
toWordsTr static string  
toWordsUa static string  
toWordsZh static string  
trim static string  
tryParseDateTime static boolean  
tryParseDecimal static boolean  
tryParseDouble static boolean  
tryParseLong static boolean  

Method Details

DateToStrPt static

DateToStrPt(value: DateTime): string

Parameters

Returns string


abc static

abc(value: number | string): string

Parameters

  • value (number | string)

Returns string


arabic static

arabic(value: number | string): string

Parameters

  • value (number | string)

Returns string


compare static

compare(str1: string, str2: string): number

Parameters

  • str1 (string)
  • str2 (string)

Returns number


convertToBase64String static

convertToBase64String(value: string): string

Parameters

  • value (string)

Returns string


create static

create(): void


dateToStr static

dateToStr(value: DateTime, upperCase: any): string

Parameters

Returns string


dateToStrPl static

dateToStrPl(value: DateTime, upperCase: boolean): string

Parameters

Returns string


dateToStrPtBr static

dateToStrPtBr(value: DateTime): string

Parameters

Returns string


dateToStrRu static

dateToStrRu(value: DateTime, upperCase: any): string

Parameters

Returns string


dateToStrUa static

dateToStrUa(value: DateTime, upperCase: any): string

Parameters

Returns string


insert static

insert(str: any, startIndex: number, value: any): string

Parameters

  • str (any)
  • startIndex (number)
  • value (any)

Returns string


left static

left(str: any, length: number): string

Parameters

  • str (any)
  • length (number)

Returns string


length2 static

length2(str: any): number

Parameters

  • str (any)

Returns number


mid static

mid(str: any, startIndex: number, length: number): string

Parameters

  • str (any)
  • startIndex (number)
  • length (number)

Returns string


parseDateTime static

parseDateTime(value: string): DateTime

Parameters

  • value (string)

Returns DateTime


parseDecimal static

parseDecimal(value: string): number

Parameters

  • value (string)

Returns number


parseDouble static

parseDouble(value: string): number

Parameters

  • value (string)

Returns number


parseLong static

parseLong(value: string): number

Parameters

  • value (string)

Returns number


persian static

persian(value: number | string): string

Parameters

  • value (number | string)

Returns string


remove static

remove(str: any, startIndex: number, count: number): string

Parameters

  • str (any)
  • startIndex (number)
  • count (number)

Returns string


replace static

replace(str: any, oldValue: any, newValue: any): string

Parameters

  • str (any)
  • oldValue (any)
  • newValue (any)

Returns string


right static

right(str: any, length: number): string

Parameters

  • str (any)
  • length (number)

Returns string


roman static

roman(value: number): string

Parameters

  • value (number)

Returns string


strToDateTime static

strToDateTime(value: string): DateTime

Parameters

  • value (string)

Returns DateTime


strToNullableDateTime static

strToNullableDateTime(value: string): DateTime

Parameters

  • value (string)

Returns DateTime


substring static

substring(str: any, startIndex: number, length: number): string

Parameters

  • str (any)
  • startIndex (number)
  • length (number)

Returns string


toCurrencyWords static

toCurrencyWords(value: number, upperCase: any, showCents: boolean, dollars: any, cents: any): string

Parameters

  • value (number)
  • upperCase (any)
  • showCents (boolean)
  • dollars (any)
  • cents (any)

Returns string


toCurrencyWords2 static

toCurrencyWords2(value: number, upperCase: boolean | string, showCents: boolean | number | string, dollars: string | boolean, cents: string): string

Parameters

  • value (number)
  • upperCase (boolean | string)
  • showCents (boolean | number | string)
  • dollars (string | boolean)
  • cents (string)

Returns string


toCurrencyWordsAr static

toCurrencyWordsAr(value: number, currencyBasicUnit: string, currencyFractionalUnit: string): string

Parameters

  • value (number)
  • currencyBasicUnit (string)
  • currencyFractionalUnit (string)

Returns string


toCurrencyWordsBg static

toCurrencyWordsBg(value: number, currencyISO: string, showCents: any, upperCase: any): string

Parameters

  • value (number)
  • currencyISO (string)
  • showCents (any)
  • upperCase (any)

Returns string


toCurrencyWordsEnGb static

toCurrencyWordsEnGb(numberr: number, currencyISO: string, decimals: number): string

Parameters

  • numberr (number)
  • currencyISO (string)
  • decimals (number)

Returns string


toCurrencyWordsEnIn static

toCurrencyWordsEnIn(currencyBasicUnit: string, currencyFractionalUnit: string, value: number, decimalPlaces: number, blankIfZero: any): string

Parameters

  • currencyBasicUnit (string)
  • currencyFractionalUnit (string)
  • value (number)
  • decimalPlaces (number)
  • blankIfZero (any)

Returns string


toCurrencyWordsEs static

toCurrencyWordsEs(numberr: number, currencyISO: string, decimals: number, female: any): string

Parameters

  • numberr (number)
  • currencyISO (string)
  • decimals (number)
  • female (any)

Returns string


toCurrencyWordsFr static

toCurrencyWordsFr(numberr: number, currencyISO: string, decimals: number): string

Parameters

  • numberr (number)
  • currencyISO (string)
  • decimals (number)

Returns string


toCurrencyWordsNl static

toCurrencyWordsNl(numberr: number, currencyISO: string, decimals: number): string

Parameters

  • numberr (number)
  • currencyISO (string)
  • decimals (number)

Returns string


toCurrencyWordsPl static

toCurrencyWordsPl(value: number, currencyISO: string, showCents: boolean, upperCase: boolean): string

Parameters

  • value (number)
  • currencyISO (string)
  • showCents (boolean)
  • upperCase (boolean)

Returns string


toCurrencyWordsPt static

toCurrencyWordsPt(value: number, upperCase: boolean, showCents: boolean, dollars: string, cents: string | number): string

Parameters

  • value (number)
  • upperCase (boolean)
  • showCents (boolean)
  • dollars (string)
  • cents (string | number)

Returns string


toCurrencyWordsPtBr static

toCurrencyWordsPtBr(value: number, uppercase: boolean, dollars: string, cents: string): string

Parameters

  • value (number)
  • uppercase (boolean)
  • dollars (string)
  • cents (string)

Returns string


toCurrencyWordsRu static

toCurrencyWordsRu(value: number, cents: any, currency: any, uppercase: any): string

Parameters

  • value (number)
  • cents (any)
  • currency (any)
  • uppercase (any)

Returns string


toCurrencyWordsThai static

toCurrencyWordsThai(value: number): string

Parameters

  • value (number)

Returns string


toCurrencyWordsTr static

toCurrencyWordsTr(value: number, currencyName: string, showZeroCents: boolean): string

Parameters

  • value (number)
  • currencyName (string)
  • showZeroCents (boolean)

Returns string


toCurrencyWordsTr2 static

toCurrencyWordsTr2(value: number, currencyName: string, showZeroCents: boolean): string

Parameters

  • value (number)
  • currencyName (string)
  • showZeroCents (boolean)

Returns string


toCurrencyWordsUa static

toCurrencyWordsUa(value: number, cents: any, currency: any, uppercase: any): string

Parameters

  • value (number)
  • cents (any)
  • currency (any)
  • uppercase (any)

Returns string


toCurrencyWordsZh static

toCurrencyWordsZh(value: number): string

Parameters

  • value (number)

Returns string


toLowerCase static

toLowerCase(str: any): string

Parameters

  • str (any)

Returns string


toOrdinal static

toOrdinal(value: number): string

Parameters

  • value (number)

Returns string


toProperCase static

toProperCase(str: any): string

Parameters

  • str (any)

Returns string


toUpperCase static

toUpperCase(str: any): string

Parameters

  • str (any)

Returns string


toWords static

toWords(value: number, upperCase: any): string

Parameters

  • value (number)
  • upperCase (any)

Returns string


toWordsAr static

toWordsAr(value: number): string

Parameters

  • value (number)

Returns string


toWordsBg static

toWordsBg(value: number, upperCase: boolean): string

Parameters

  • value (number)
  • upperCase (boolean)

Returns string


toWordsEnIn static

toWordsEnIn(value: number, blankIfZero: boolean): string

Parameters

  • value (number)
  • blankIfZero (boolean)

Returns string


toWordsEs static

toWordsEs(value: number, upperCase: boolean, female: boolean): string

Parameters

  • value (number)
  • upperCase (boolean)
  • female (boolean)

Returns string


toWordsEs2 static

toWordsEs2(value: number, upperCase: boolean, female: boolean): string

Parameters

  • value (number)
  • upperCase (boolean)
  • female (boolean)

Returns string


toWordsFa static

toWordsFa(value: number): string

Parameters

  • value (number)

Returns string


toWordsPl static

toWordsPl(value: number, upperCase: boolean): string

Parameters

  • value (number)
  • upperCase (boolean)

Returns string


toWordsPt static

toWordsPt(value: number, upperCase: boolean): string

Parameters

  • value (number)
  • upperCase (boolean)

Returns string


toWordsRu static

toWordsRu(value: number, upperCase: any): string

Parameters

  • value (number)
  • upperCase (any)

Returns string


toWordsTr static

toWordsTr(value: number): string

Parameters

  • value (number)

Returns string


toWordsUa static

toWordsUa(value: number, uppercase: any, gender: Stimulsoft.Report.Func.Gender): string

Parameters

Returns string


toWordsZh static

toWordsZh(value: number): string

Parameters

  • value (number)

Returns string


trim static

trim(str: any): string

Parameters

  • str (any)

Returns string


tryParseDateTime static

tryParseDateTime(value: string): boolean

Parameters

  • value (string)

Returns boolean


tryParseDecimal static

tryParseDecimal(value: string): boolean

Parameters

  • value (string)

Returns boolean


tryParseDouble static

tryParseDouble(value: string): boolean

Parameters

  • value (string)

Returns boolean


tryParseLong static

tryParseLong(value: string): boolean

Parameters

  • value (string)

Returns boolean

Fields

Field Type Description
showCents any  
upperCase any