Softanza
StartFrançais
Softanza
The library documents itself · String

stzStringBounder

33 own methods · 28 forms written with extensions, listed under their method

the source: base/string/stzStringBounder.ring(opens in a new tab) · All classes · The area reference: String

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 stzStringBounder("<<hello>> and <<world>>"). 20 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
content accessno extension
NumberOfChars
content access
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.NumberOfChars()
#--> 23
composed from the signature, run for this page
no extension
IsEmpty
content access
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
Section
section (slice)
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.Section(2, 5)
#--> <hel
composed from the signature, run for this page
QCSXTZZZIBWU
Sections
multiple sections
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? @@( o1.Sections([ [ 1, 3 ] ]) )
#--> [ "<<h" ]
composed from the signature, run for this page
no extension
AntiSection
anti-section
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? @@( o1.AntiSection(2, 5) )
#--> [ "<", "lo>> and <<world>>" ]
composed from the signature, run for this page
no extension
Range
rangeQCSXTZZZIBWU
Between
betweenQCSXTZZZIBWU
FirstBetween
first between (single result)QCSXTZZZIBWU
LastBetween
last between (single result)QCSXTZZZIBWU
NthBetween
nth between (single result)QCSXTZZZIBWU
ReplaceBetween
Default: bounds are NOT included (Softanza convention) ReplaceBetween("[", "]", "X") on "[hello]" => "[X]" Engine replaces including bounds, so we wrap replacementQCSXTZZZIBWU
ReplaceFirstBetween
replace between (bounds preserved)QCSXTZZZIBWU
ReplaceLastBetween
replace between (bounds preserved)QCSXTZZZIBWU
ReplaceNthBetween
replace between (bounds preserved)QCSXTZZZIBWU
RemoveBetween
Default: bounds are NOT included RemoveBetween("[", "]") on "[hello]" => "[]"QCSXTZZZIBWU
RemoveFirstBetween
remove between (bounds preserved)QCSXTZZZIBWU
RemoveLastBetween
remove between (bounds preserved)QCSXTZZZIBWU
RemoveNthBetween
remove between (bounds preserved)QCSXTZZZIBWU
FindSectionBoundsZZ
section boundsno extension
FindSectionBoundsIBZZ
section boundsno extension
SectionBounds
section boundsQCSXTZZZIBWU
IsBoundedBy
is bounded by
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.IsBoundedBy([ "an", "a" ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
IsBoundedByIn
is bounded by -- inside a stringQCSXTZZZIBWU
SubStringIsBoundedBy
substring is bounded by
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.SubStringIsBoundedBy("an", [ "an", "a" ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
SubStringIsBetween
substring is betweenQCSXTZZZIBWU
SubStringIsBetweenPositions
substring is between positions
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.SubStringIsBetweenPositions("an", 2, 5)
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
SubStringIsBetweenSubStrings
substring is between substrings
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.SubStringIsBetweenSubStrings("an", "an", "an")
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
IsBoundOf
is bound of
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.IsBoundOf("an", "an")
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
Char
char at
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.Char(2)
#--> <
composed from the signature, run for this page
no extension
FirstChar
char at
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.FirstChar()
#--> <
composed from the signature, run for this page
no extension
LastChar
char at
composed example
o1 = new stzStringBounder("<<hello>> and <<world>>")
? o1.LastChar()
#--> >
composed from the signature, run for this page
no extension