Function set

  • Write a substring at specified index in string.

    Parameters

    • x: string

      a string

    • at: number

      write index (-ve ⇒ from right)

    • write: string

      substring to write

    Returns string

    x[0:i] + w + x[i+|w|:] | i = at, w = write

Generated using TypeDoc