Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

STR_EMPTY: "" = ""

Empty string constant

Functions

  • extractPlaceholderTokens(expr: string, delimBegin: string, delimEnd: string): string[]
  • export
    since

    0.14

    Parameters

    • expr: string
    • delimBegin: string
    • delimEnd: string

    Returns string[]

  • isResourceId(str: string): boolean
  • Gets whether the given string is a resource identifier

    since

    0.14

    Parameters

    • str: string

      The string to test

    Returns boolean

  • strEndsWith(str: string, suffix: string): boolean
  • Indicates if the given string ends with the given suffix

    export

    Parameters

    • str: string
    • suffix: string

    Returns boolean

  • strIsNullOrEmpty(str: undefined | null | string): str is undefined | null
  • Indicates if the given string is null or empty

    export

    Parameters

    • str: undefined | null | string

    Returns str is undefined | null

  • strReplaceAll(str: string, find: string, replace: string): string
  • Replaces all occurrences of the given string with the specified replacement in the target string

    since

    0.12

    Parameters

    • str: string
    • find: string
    • replace: string

    Returns string

  • strStartsWith(str: string, word: string): boolean
  • Indicates if the given string starts with the given string

    since

    0.14

    Parameters

    • str: string
    • word: string

    Returns boolean

  • strTrim(str: string): string
  • Returns a trimmed version of the given string

    since

    0.12.5

    Parameters

    • str: string

      The string to trim

    Returns string

Generated using TypeDoc