Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 321 Bytes

File metadata and controls

17 lines (12 loc) · 321 Bytes

insert

Inserts $substring into the string at the $index provided.

Description

static insert(string $substring, int $index)

Parameters

  • string $substring
    String to be inserted.

  • int $index
    The index at which to insert the substring.

Return Value

static
String after the insertion.