• Splice a string together (Similar to Array.splice)

    Parameters

    • str: string

      String that will be modified

    • start: number

      Start index of splice

    • deleteCount: number

      Number of characters to remove in splice

    • insert: string = ''

      Insert new string into splice

    Returns string

    Returned spliced string