Hierarchy

Implements

Index

Constructors

constructor

Properties

value

value: string

Static stimulsoft

stimulsoft: symbol = Symbol("stimulsoft")

Methods

as

  • as(type: any): any
  • Parameters

    • type: any

    Returns any

compareTo

  • compareTo(strB: string): number

contains

  • contains(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

endsWith

  • endsWith(value: string, ignoreCase?: boolean): boolean
  • Parameters

    • value: string
    • Default value ignoreCase: boolean = false

    Returns boolean

equals

  • equals(...args: any[]): boolean
  • Parameters

    • Rest ...args: any[]

    Returns boolean

fromUnicodeString

  • fromUnicodeString(): string
  • Returns string

getHashCode

  • getHashCode(...args: any[]): number

getNetTypeName

  • getNetTypeName(): string

getType

getTypeName

  • getTypeName(): string

indexOfAny

  • indexOfAny(values: string[]): number
  • Parameters

    • values: string[]

    Returns number

insert

  • insert(startIndex: number, value: string, removeLength?: number): string
  • Parameters

    • startIndex: number
    • value: string
    • Default value removeLength: number = 0

    Returns string

is

  • is(type: any): boolean
  • Parameters

    • type: any

    Returns boolean

is2

  • is2<T>(type: object | Interface<T>): boolean

isBase64String

  • isBase64String(): boolean
  • Returns boolean

memberwiseClone

  • memberwiseClone(isBase?: boolean): any

padLeft

  • padLeft(totalWidth: number, paddingChar?: string): string
  • Parameters

    • totalWidth: number
    • Default value paddingChar: string = " "

    Returns string

padRight

  • padRight(totalWidth: number, paddingChar?: string): string
  • Parameters

    • totalWidth: number
    • Default value paddingChar: string = " "

    Returns string

regexIndexOf

  • regexIndexOf(regex: RegExp, startpos: number): number
  • Parameters

    • regex: RegExp
    • startpos: number

    Returns number

regexLastIndexOf

  • regexLastIndexOf(regex: RegExp, startpos: number): number
  • Parameters

    • regex: RegExp
    • startpos: number

    Returns number

remove

  • remove(startIndex: number, count?: number): string
  • Parameters

    • startIndex: number
    • Default value count: number = Number.MAX_VALUE

    Returns string

replaceAll

  • replaceAll(searchValue: string, replaceValue: string, startIndex?: number, count?: number): string
  • Parameters

    • searchValue: string
    • replaceValue: string
    • Optional startIndex: number
    • Optional count: number

    Returns string

split

  • split(...separators: string[]): string[]
  • Parameters

    • Rest ...separators: string[]

    Returns string[]

startsWith

  • startsWith(value: string, ignoreCase?: boolean): boolean
  • Parameters

    • value: string
    • Default value ignoreCase: boolean = false

    Returns boolean

toBoolean

  • toBoolean(): boolean

toBytesArray

  • toBytesArray(): number[]
  • Returns number[]

toLowerFirst

  • toLowerFirst(): string
  • Returns string

toNumber

  • toNumber(float?: boolean): number
  • Parameters

    • Default value float: boolean = true

    Returns number

toString

  • toString(): string

toUnicodeString

  • toUnicodeString(): string
  • Returns string

trimEnd

  • trimEnd(char?: string): string
  • Parameters

    • Default value char: string = " "

    Returns string

trimStart

  • trimStart(char?: string): string
  • Parameters

    • Default value char: string = " "

    Returns string

Static addEvent

  • addEvent(element: any, eventName: string, fn: Function): void

Static compareTo

  • compareTo(a: any, b: any): number

Static customFormat

  • customFormat(arg: any, format: string): string
  • Parameters

    • arg: any
    • format: string

    Returns string

Static disableAllEnumerable

  • disableAllEnumerable(prototype: any, obj: any): void

Static equals

  • equals(objA: any, objB: any): boolean
  • Parameters

    • objA: any
    • objB: any

    Returns boolean

Static fill

  • fill(value: string, count: number): string
  • Parameters

    • value: string
    • count: number

    Returns string

Static format

  • format(str: string, ...values: any[]): string
  • Parameters

    • str: string
    • Rest ...values: any[]

    Returns string

Static format1

  • format1(str: string, values: any[]): string
  • Parameters

    • str: string
    • values: any[]

    Returns string

Static fromBytesArray

  • fromBytesArray(bytes: number[]): string
  • Parameters

    • bytes: number[]

    Returns string

Static getOwnPropertyNames

  • getOwnPropertyNames(obj: any): string[]

Static indexOfAny

  • indexOfAny(str: string, searchChars: string[]): number
  • Parameters

    • str: string
    • searchChars: string[]

    Returns number

Static init

  • init(): void

Static isNullOrEmpty

  • isNullOrEmpty(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Static isNullOrUndefined

  • isNullOrUndefined(obj: any): boolean

Static isNullOrWhiteSpace

  • isNullOrWhiteSpace(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Static join

  • join(separator: string, value: string[]): string
  • Parameters

    • separator: string
    • value: string[]

    Returns string

Static keys

  • keys(obj: any): string[]
  • Parameters

    • obj: any

    Returns string[]

Static mergeDeep

  • mergeDeep(target: any, ...sources: any[]): any
  • Parameters

    • target: any
    • Rest ...sources: any[]

    Returns any

Static parseFormatString

  • parseFormatString(formatString: string, values: any[]): string
  • Parameters

    • formatString: string
    • values: any[]

    Returns string

Static referenceEquals

  • referenceEquals(objA: any, objB: any): boolean

Static repeat

  • repeat(value: string, n: number): string
  • Parameters

    • value: string
    • n: number

    Returns string

Static saveAs

  • saveAs(data: any, fileName: string, type?: string): void
  • Parameters

    • data: any
    • fileName: string
    • Default value type: string = "application/octet-stream"

    Returns void

Generated using TypeDoc