Class StringUtilities

Index

Methods

Methods

public static copyTo(source: string, sourceIndex: number, destination: Array<number>, destinationIndex: number, count: number)

Parameters

  • source: string
  • sourceIndex: number
  • destination: Array<number>
  • destinationIndex: number
  • count: number

public static endsWith(string: string, value: string): boolean

Parameters

  • string: string
  • value: string

Returns

boolean

public static fromCharCodeArray(array: Array<number>): string

Parameters

  • array: Array<number>

Returns

string

public static isString(value: any): boolean

Parameters

  • value: any

Returns

boolean

public static repeat(value: string, count: number): string

Parameters

  • value: string
  • count: number

Returns

string

public static startsWith(string: string, value: string): boolean

Parameters

  • string: string
  • value: string

Returns

boolean

public static stringEquals(val1: string, val2: string): boolean

Parameters

  • val1: string
  • val2: string

Returns

boolean