Name

linsert

linsert list index element...

Insert elements into list starting at the specified index. An index of 0 inserts at the beginning, and the string “end” inserts at the end. Returns the resulting list.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.