Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/string"

Index

Variables

Const STR_EMPTY

STR_EMPTY: "" = ""

Empty string constant

Functions

strEndsWith

  • 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

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

    export

    Parameters

    • str: string | undefined

    Returns boolean

strReplaceAll

  • 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

Generated using TypeDoc