Hierarchy

  • StiFunctionsStrings

Index

Methods

Static DateToStrPt

  • Parameters

    Returns string

Static abc

  • abc(value: number | string): string
  • Parameters

    • value: number | string

    Returns string

Static arabic

  • arabic(value: number | string): string
  • Parameters

    • value: number | string

    Returns string

Static convertToBase64String

  • convertToBase64String(value: string): string
  • Parameters

    • value: string

    Returns string

Static create

  • create(): void
  • Returns void

Static dateToStr

  • dateToStr(value: DateTime, upperCase?: boolean): string
  • Parameters

    • value: DateTime
    • Default value upperCase: boolean = null

    Returns string

Static dateToStrPl

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

    Returns string

Static dateToStrPtBr

  • dateToStrPtBr(value: DateTime): string
  • Parameters

    Returns string

Static dateToStrRu

  • dateToStrRu(value: DateTime, upperCase?: boolean): string
  • Parameters

    • value: DateTime
    • Default value upperCase: boolean = false

    Returns string

Static dateToStrUa

  • dateToStrUa(value: DateTime, upperCase?: boolean): string
  • Parameters

    • value: DateTime
    • Default value upperCase: boolean = false

    Returns string

Static insert

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

    • str: any
    • startIndex: number
    • value: any

    Returns string

Static left

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

    • str: any
    • length: number

    Returns string

Static length2

  • length2(str: any): number
  • Parameters

    • str: any

    Returns number

Static mid

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

    • str: any
    • startIndex: number
    • length: number

    Returns string

Static parseDateTime

  • parseDateTime(value: string): DateTime
  • Parameters

    • value: string

    Returns DateTime

Static parseDecimal

  • parseDecimal(value: string): number
  • Parameters

    • value: string

    Returns number

Static parseDouble

  • parseDouble(value: string): number
  • Parameters

    • value: string

    Returns number

Static parseLong

  • parseLong(value: string): number
  • Parameters

    • value: string

    Returns number

Static persian

  • persian(value: number | string): string
  • Parameters

    • value: number | string

    Returns string

Static remove

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

    • str: any
    • startIndex: number
    • count: number

    Returns string

Static replace

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

    • str: any
    • oldValue: any
    • newValue: any

    Returns string

Static right

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

    • str: any
    • length: number

    Returns string

Static roman

  • roman(value: number): string
  • Parameters

    • value: number

    Returns string

Static strToDateTime

  • strToDateTime(value: string): DateTime
  • Parameters

    • value: string

    Returns DateTime

Static strToNullableDateTime

  • strToNullableDateTime(value: string): DateTime
  • Parameters

    • value: string

    Returns DateTime

Static substring

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

    • str: any
    • startIndex: number
    • length: number

    Returns string

Static toCurrencyWords

  • toCurrencyWords(value: number, upperCase: boolean, showCents: boolean, dollars?: string, cents?: string): string
  • Parameters

    • value: number
    • upperCase: boolean
    • showCents: boolean
    • Default value dollars: string = "dollar/dollars"
    • Default value cents: string = "cent/cents"

    Returns string

Static toCurrencyWords2

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

    • value: number
    • Default value upperCase: boolean | string = null
    • Default value showCents: boolean | number | string = null
    • Default value dollars: string | boolean = null
    • Default value cents: string = null

    Returns string

Static toCurrencyWordsAr

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

    • value: number
    • currencyBasicUnit: string
    • currencyFractionalUnit: string

    Returns string

Static toCurrencyWordsBg

  • toCurrencyWordsBg(value: number, currencyISO: string, showCents?: boolean, upperCase?: boolean): string
  • Parameters

    • value: number
    • currencyISO: string
    • Default value showCents: boolean = true
    • Default value upperCase: boolean = false

    Returns string

Static toCurrencyWordsEnGb

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

    • numberr: number
    • currencyISO: string
    • decimals: number

    Returns string

Static toCurrencyWordsEnIn

  • toCurrencyWordsEnIn(currencyBasicUnit: string, currencyFractionalUnit: string, value: number, decimalPlaces: number, blankIfZero?: boolean): string
  • Parameters

    • currencyBasicUnit: string
    • currencyFractionalUnit: string
    • value: number
    • decimalPlaces: number
    • Default value blankIfZero: boolean = false

    Returns string

Static toCurrencyWordsEs

  • toCurrencyWordsEs(numberr: number, currencyISO: string, decimals: number): string
  • Parameters

    • numberr: number
    • currencyISO: string
    • decimals: number

    Returns string

Static toCurrencyWordsFr

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

    • numberr: number
    • currencyISO: string
    • decimals: number

    Returns string

Static toCurrencyWordsNl

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

    • numberr: number
    • currencyISO: string
    • decimals: number

    Returns string

Static toCurrencyWordsPl

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

    • value: number
    • currencyISO: string
    • showCents: boolean
    • upperCase: boolean

    Returns string

Static toCurrencyWordsPt

  • toCurrencyWordsPt(value: number, upperCase: boolean, showCents: boolean): string
  • Parameters

    • value: number
    • upperCase: boolean
    • showCents: boolean

    Returns string

Static toCurrencyWordsPtBr

  • toCurrencyWordsPtBr(value: number): string
  • Parameters

    • value: number

    Returns string

Static toCurrencyWordsRu

  • toCurrencyWordsRu(value: number, cents?: boolean, currency?: string, uppercase?: boolean): string
  • Parameters

    • value: number
    • Default value cents: boolean = true
    • Default value currency: string = "RUR"
    • Default value uppercase: boolean = true

    Returns string

Static toCurrencyWordsThai

  • toCurrencyWordsThai(value: number): string
  • Parameters

    • value: number

    Returns string

Static toCurrencyWordsTr

  • toCurrencyWordsTr(value: number, currencyName?: string, showZeroCents?: boolean): string
  • Parameters

    • value: number
    • Default value currencyName: string = null
    • Default value showZeroCents: boolean = null

    Returns string

Static toCurrencyWordsTr2

  • toCurrencyWordsTr2(value: number, currencyName?: string, showZeroCents?: boolean): string
  • Parameters

    • value: number
    • Default value currencyName: string = null
    • Default value showZeroCents: boolean = null

    Returns string

Static toCurrencyWordsUa

  • toCurrencyWordsUa(value: number, cents?: boolean, currency?: string, uppercase?: boolean): string
  • Parameters

    • value: number
    • Default value cents: boolean = true
    • Default value currency: string = "UAH"
    • Default value uppercase: boolean = true

    Returns string

Static toCurrencyWordsZh

  • toCurrencyWordsZh(value: number): string
  • Parameters

    • value: number

    Returns string

Static toLowerCase

  • toLowerCase(str: any): string
  • Parameters

    • str: any

    Returns string

Static toOrdinal

  • toOrdinal(value: number): string
  • Parameters

    • value: number

    Returns string

Static toProperCase

  • toProperCase(str: any): string
  • Parameters

    • str: any

    Returns string

Static toUpperCase

  • toUpperCase(str: any): string
  • Parameters

    • str: any

    Returns string

Static toWords

  • toWords(value: number, upperCase?: boolean, femaleEs?: boolean): string
  • Parameters

    • value: number
    • Default value upperCase: boolean = null
    • Default value femaleEs: boolean = null

    Returns string

Static toWordsAr

  • toWordsAr(value: number): string
  • Parameters

    • value: number

    Returns string

Static toWordsBg

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

    • value: number
    • upperCase: boolean

    Returns string

Static toWordsEnIn

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

    • value: number
    • blankIfZero: boolean

    Returns string

Static toWordsEs

  • toWordsEs(value: number, upperCase: boolean, female?: boolean): string
  • Parameters

    • value: number
    • upperCase: boolean
    • Default value female: boolean = null

    Returns string

Static toWordsEs2

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

    • value: number
    • upperCase: boolean
    • female: boolean

    Returns string

Static toWordsFa

  • toWordsFa(value: number): string
  • Parameters

    • value: number

    Returns string

Static toWordsPl

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

    • value: number
    • upperCase: boolean

    Returns string

Static toWordsPt

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

    • value: number
    • upperCase: boolean

    Returns string

Static toWordsRu

  • toWordsRu(value: number, upperCase?: boolean): string
  • Parameters

    • value: number
    • Default value upperCase: boolean = true

    Returns string

Static toWordsTr

  • toWordsTr(value: number): string
  • Parameters

    • value: number

    Returns string

Static toWordsUa

  • toWordsUa(value: number, uppercase?: boolean, gender?: Gender): string
  • Parameters

    • value: number
    • Default value uppercase: boolean = true
    • Default value gender: Gender = Stimulsoft.Report.Func.Gender.Masculine

    Returns string

Static toWordsZh

  • toWordsZh(value: number): string
  • Parameters

    • value: number

    Returns string

Static trim

  • trim(str: any): string
  • Parameters

    • str: any

    Returns string

Static tryParseDateTime

  • tryParseDateTime(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Static tryParseDecimal

  • tryParseDecimal(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Static tryParseDouble

  • tryParseDouble(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Static tryParseLong

  • tryParseLong(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Generated using TypeDoc