list insert

Allows you to insert a given element at a given index in a list.


Example

Running this code will insert a text into the line 0 of the list "%Test", which will be shown in the debugger.

This is shown in the Debugger.

add list to list(%Test,$list from text("a,b,c,d,e,f,g",","),"Delete","Global")
plugin command("Data and Files Automation.dll", "list insert", %Test, 0, "Sample Insert")

Was this helpful?

Previous Article

list find duplicate

Next Article

list insert range