Options
All
  • Public
  • Public/Protected
  • All
Menu

Module StringHelper

Index

Variables

Empty

Empty: string

Functions

Compare

  • Compare(lhs: string, rhs: string, ignoreCase?: boolean): number
  • Parameters

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

    Returns number

Format

  • Format(source: string, ...args: any[]): string
  • Parameters

    • source: string
    • Rest ...args: any[]

    Returns string

IsNullOrEmpty

  • IsNullOrEmpty(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

Repeat

  • Repeat(str?: string, times?: number): string
  • Parameters

    • Default value str: string = ""
    • Default value times: number = 1

    Returns string

Tabs

  • Tabs(times?: number): string
  • Parameters

    • Default value times: number = 0

    Returns string

Generated using TypeDoc