Function substring

  • Extract section of string.

    Parameters

    • x: string

      a string

    • start: number

      start index (-ve ⇒ 0) [0]

    • Optional end: number

      end index (-ve ⇒ 0) [end]

    Returns string

    section of string

Generated using TypeDoc