insertAfter
Inserts the insertText
after the specified target
in the input
string.
input
( string
): The input string.insertText
( string
): The text to insert.target
( string | number
): The index or substring after which to insert the text.string
): A new string with the text inserted.