InsertAfter()
InsertAfter(:ItemAtPosition = n, item): NON-mutating -- returns the -- would-be list with item inserted after position n, leaving This as-is -- (use InsertAfterPosition for the mutating form).
Basic examples (2)
o1 = new stzList([ "A1", "A2", "A3" ]) o1.InsertAfter( :ItemAtPosition = 3, "A4" ) ? o1.Content()
A1 A2 A3
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 364_insertafter.ring(opens in a new tab)
o1 = new stzList([ "a", "b", "C", "D", "e" ])
o1.InsertAfterW( '{ Q(This[@i]).IsLowercase() }', "*" )
? @@( o1.Content() )[ "a", "*", "b", "*", "C", "D", "e", "*" ]
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 565_insertafterw.ring(opens in a new tab)
Scope (1)
o1 = new stzList([ "a", "b", "C", "D", "e" ])
o1.InsertAfterWF( func x { return Q(x).IsLowercase() }, "*" )
? @@( o1.Content() )[ "a", "*", "b", "*", "C", "D", "e", "*" ]
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 566_insertafterwf.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.

