Hierarchy

  • String

Methods

  • Returns string

  • Returns string

  • Parameters

    • str: string

    Returns boolean

  • Returns number

  • Parameters

    • str: string

    Returns number

  • Returns boolean

  • Parameters

    • src: string

    Returns boolean

  • Parameters

    • str1: string
    • str2: string

    Returns string

  • Replace all instances of a substring in a string, using a regular expression or search string.

    Parameters

    • searchValue: string | RegExp

      A string to search for.

    • replaceValue: string

      A string containing the text to replace for every successful match of searchValue in this string.

    Returns string

  • Replace all instances of a substring in a string, using a regular expression or search string.

    Parameters

    • searchValue: string | RegExp

      A string to search for.

    • replacer: ((substring, ...args) => string)

      A function that returns the replacement text.

        • (substring, ...args): string
        • Parameters

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

          Returns string

    Returns string

  • Parameters

    • j: any
    • d: any

    Returns any

  • Parameters

    • j: any
    • d: any

    Returns any

  • Parameters

    • str: string

    Returns boolean

Generated using TypeDoc