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

stzListExtractor

21 own methods · 8 forms written with extensions, listed under their method

the source: base/list/stzListExtractor.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: 0 come from the library's tests; 13 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListExtractor([1, "a", 2, "b", 3]). 8 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
initializationno extension
Content
(no comment in the source: the name reads as a sentence) contentin the section content accessno extension
List
(no comment in the source: the name reads as a sentence) listin the section content accessno extension
NumberOfItems
(no comment in the source: the name reads as a sentence) number of itemsin the section content access
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.NumberOfItems()
#--> 5
composed from the signature, run for this page
no extension
IsEmpty
(no comment in the source: the name reads as a sentence) is emptyin the section content access
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
Extract
(no comment in the source: the name reads as a sentence) extractin the section content access
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.Extract(3)
#--> 3
composed from the signature, run for this page
QCSXTZZZIBWUMany
ExtractAll
(no comment in the source: the name reads as a sentence) extract allin the section content accessno extension
ExtractNth
(no comment in the source: the name reads as a sentence) extract nthin the section content access
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.ExtractNth(2)
#--> a
composed from the signature, run for this page
no extension
ExtractFirst
pop -- extract last (stack style)also written: PopFirstin the section content access
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.ExtractFirst()
#--> 1
composed from the signature, run for this page
no extension
ExtractLast
pop -- extract last (stack style)also written: Popin the section content access
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.ExtractLast()
#--> 3
composed from the signature, run for this page
no extension
ExtractSection
(no comment in the source: the name reads as a sentence) extract sectionin the section content access
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? @@( o1.ExtractSection(2, 5) )
#--> [ "a", 2, "b", 3 ]
composed from the signature, run for this page
no extension
ExtractRange
(no comment in the source: the name reads as a sentence) extract rangein the section content accessno extension
ExtractNthOccurrence
extract nth occurrenceQCSXTZZZIBWU
ExtractFirstOccurrence
extract first / last occurrence
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.ExtractFirstOccurrence(3)
#--> 3
composed from the signature, run for this page
QCSXTZZZIBWU
ExtractLastOccurrence
extract first / last occurrence
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? o1.ExtractLastOccurrence(3)
#--> 3
composed from the signature, run for this page
QCSXTZZZIBWU
ExtractDuplicates
extract duplicatesQCSXTZZZIBWU
ExtractStrings
extract items of type
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? @@( o1.ExtractStrings() )
#--> [ "a", "b" ]
composed from the signature, run for this page
no extension
ExtractNumbers
extract items of type
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? @@( o1.ExtractNumbers() )
#--> [ 1, 2, 3 ]
composed from the signature, run for this page
no extension
ExtractLists
extract items of typeno extension
Take
take -- extract n from start
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? @@( o1.Take(2) )
#--> [ 1, "a" ]
composed from the signature, run for this page
no extension
TakeLast
take -- extract n from start
composed example
o1 = new stzListExtractor([1, "a", 2, "b", 3])
? @@( o1.TakeLast(2) )
#--> [ "b", 3 ]
composed from the signature, run for this page
no extension