Softanza
StartFrançais
Softanza
The library documents itself · Collections & objects

stzSplitter

31 own methods · 91 forms written with extensions, listed under their method · Also inherits from stzListOfNumbers (228) · stzList (869)

the source: base/common/stzSplitter.ring(opens in a new tab) · All classes · The area reference: Collections & objects

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 1 come from the library's tests; 16 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzSplitter([ 10, 2 ]). 14 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
initializing the splitterno extension
NumberOfPositions
initializing the splitteralso written: NumberOfItems
composed example
o1 = new stzSplitter([ 10, 2 ])
? o1.NumberOfPositions()
#--> 10
composed from the signature, run for this page
no extension
Content
initializing the splitterQCSXTZZZIBWUQRT
Value
initializing the splitterno extension
Copy
initializing the splitterno extension
(no comment in the source: the name reads as a sentence) split at 1 examples runalso written: Split · Splits · SplitsAtin the section splitting atQCSXTZZZIBWU
SplitAtPosition
splitting at a given positionalso written: SplitsAtPosition
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAtPosition(2) )
#--> [ [ 1, 1 ], [ 3, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
(no comment in the source: the name reads as a sentence) split at positions 1 examples runalso written: SplitsAtPositions · SplitAtManyPositions · SplitAtThesePositions · SplitsAtManyPositions · SplitsAtThesePositionsin the section splitting at many positions
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAtPositions([ 2, 3 ]) )
#--> [ [ 1, 1 ], [ 3, 2 ], [ 4, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
splitting before 1 examples runalso written: SplitsBeforeQCSXTZZZIBWU
SplitBeforePosition
splitting before a positionalso written: SplitsBeforePosition
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitBeforePosition(2) )
#--> [ [ 1, 1 ], [ 2, 10 ] ]
composed from the signature, run for this page
no extension
splitting before many positions 1 examples runalso written: SplitBeforeManyPositions · SplitBeforeThesePositions · SplitsBeforeManyPositions · SplitsBeforeThesePositions
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitBeforePositions([ 2, 3 ]) )
#--> [ [ 1, 1 ], [ 2, 2 ], [ 3, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
splitting after 1 examples runalso written: SplitsAfterQCSXTZZZIBWU
SplitAfterPosition
splitting after a given positionalso written: SplitsAfterPosition
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAfterPosition(2) )
#--> [ [ 1, 2 ], [ 3, 10 ] ]
composed from the signature, run for this page
no extension
(no comment in the source: the name reads as a sentence) split after positions 1 examples runalso written: SplitsAfterPositions · SplitAfterManyPositions · SplitAfterThesePositions · SplitsAfterManyPositions · SplitsAfterThesePositionsin the section splitting after many positions
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAfterPositions([ 2, 3 ]) )
#--> [ [ 1, 2 ], [ 3, 3 ], [ 4, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitAtSection
(no comment in the source: the name reads as a sentence) split at sectionalso written: SplitBetween · SplitsBetween · SplitsAtSection · SplitAtThisSection · SplitsAtThisSection · SplitBetweenPositions · SplitsBetweenPositions · SplitBetweenManyPositions · SplitBetweenThesePositions · SplitsBetweenManyPositions · SplitsBetweenThesePositionsin the section splitting at a given section
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAtSection(2, 5) )
#--> [ [ 1, 1 ], [ 6, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitAtSections
(no comment in the source: the name reads as a sentence) split at sectionsalso written: SplitsAtSections · SplitAtManySections · SplitAtTheseSections · SplitBetweenSections · SplitsAtManySections · SplitsAtTheseSections · SplitsBetweenSections · SplitBetweenManySections · SplitBetweenTheseSections · SplitsBetweenManySections · SplitsBetweenTheseSectionsin the section splitting at many sectionsQCSXTZZZIBWU
SplitBeforeSection
(no comment in the source: the name reads as a sentence) split before sectionalso written: SplitsBeforeSection · SplitBeforeThisSection · SplitsBeforeThisSectionin the section splitting before a given section
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitBeforeSection(2, 5) )
#--> [ [ 1, 1 ], [ 2, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitBeforeSections
(no comment in the source: the name reads as a sentence) split before sectionsalso written: SplitsBeforeSections · SplitBeforeManySections · SplitBeforeTheseSections · SplitsBeforeManySections · SplitsBeforeTheseSectionsin the section splitting before many sectionsQCSXTZZZIBWU
SplitAfterSection
(no comment in the source: the name reads as a sentence) split after sectionalso written: SplitsAfterSection · SplitAfterThisSection · SplitsAfterThisSectionin the section splitting after a given section
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAfterSection(2, 5) )
#--> [ [ 1, 5 ], [ 6, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitAfterSections
(no comment in the source: the name reads as a sentence) split after sectionsalso written: SplitsAfterSections · SplitAfterManySections · SplitAfterTheseSections · SplitsAfterManySections · SplitsAfterTheseSectionsin the section splitting after many sectionsQCSXTZZZIBWU
SplitToPartsOfNItems
(no comment in the source: the name reads as a sentence) split to parts of n itemsalso written: SplitToPartsOf · SplitToPartsOfN · SplitsToPartsOf · SplitsToPartsOfN · SplitToSectionsOf · SplitToSectionsOfN · SplitsToSectionsOf · SplitsToSectionsOfN · SplitToPartsOfExactly · SplitsToPartsOfNItems · SplitToPartsOfExactlyN · SplittoSectionsOfNItems · SplitToPartsOfNPositions · SplitToSectionsOfExactly · SplitsToSectionsOfNItems · SplitToSectionsOfExactlyN · SplitsToPartsOfNPositions · SplitToPartsOfExactlyNItems · SplitToSectionsOfNPositions · SplitsToSectionsOfNPositions · SplitToSectionsOfExactlyNItems · SplitToPartsOfExactlyNPositions · SplitToSectionsOfExactlyNPositionsin the section splitting to parts of exactly n items
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitToPartsOfNItems(2) )
#--> [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ], [ 7, 8 ], [ 9, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitToNParts
splitting to n partsalso written: SplitsToNParts · SplitToNSections · SplitsToNSections
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitToNParts(2) )
#--> [ [ 1, 5 ], [ 6, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitAround
splitting around position(s) or section(s)also written: SplitsAroundQCSXTZZZIBWU
SplitAroundPosition
splitting around a positionalso written: SplitsAroundPosition
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAroundPosition(2) )
#--> [ [ 1, 1 ], [ 3, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitAroundPositions
splitting around positionsalso written: SplitsAroundPositions
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAroundPositions([ 2, 3 ]) )
#--> [ [ 1, 1 ], [ 4, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SplitAroundSection
splitting around a sectionalso written: SplitsAroundSectionQCSXTZZZIBWU
SplitAroundSections
splitting around sectionsalso written: SplitsAroundSections
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.SplitAroundSections([ 2, 3 ]) )
#--> [ [ 1, 10 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
FindAntiSectionsZZ_local
splitting around sections
composed example
o1 = new stzSplitter([ 10, 2 ])
? @@( o1.FindAntiSectionsZZ_local([ 2, 3 ]) )
#--> [ [ 1, 10 ] ]
composed from the signature, run for this page
no extension
utility functions used by the other methods above 1 examples run
o1 = new stzSplitter(5)
? @@( o1.GetPairsFromPositions([ 3, 5 ]) )
? @@( o1.GetPairsFromPositions([ 1, 4 ]) ) + NL
#--> [ [ 1, 3 ], [ 3, 5 ] ]
#--> [ [ 1, 4 ], [ 4, 5 ] ]
library testno extension
ToStzList
utility functions used by the other methods aboveno extension
pvtSectionsToSectionsIB
utility functions used by the other methods aboveno extension