Softanza
StartFrançais
Softanza
The library documents itself · String

stzStringLeadTrail

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

the source: base/string/stzStringLeadTrail.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; 16 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzStringLeadTrail("HelloYYY"). 17 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
(no comment in the source: the name reads as a sentence) initno extension
Content
(no comment in the source: the name reads as a sentence) contentno extension
NumberOfChars
(no comment in the source: the name reads as a sentence) number of chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.NumberOfChars()
#--> 8
composed from the signature, run for this page
no extension
IsEmpty
(no comment in the source: the name reads as a sentence) is empty
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
HasRepeatedLeadingChars
repeated leading chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.HasRepeatedLeadingChars()
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
RepeatedLeadingChars
repeated leading charsQCSXTZZZIBWU
RepeatedLeadingChar
repeated leading charsno extension
NumberOfRepeatedLeadingChars
repeated leading chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.NumberOfRepeatedLeadingChars()
#--> 0
composed from the signature, run for this page
no extension
LeadingChar
repeated leading chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.LeadingChar()
#--> H
composed from the signature, run for this page
no extension
HasRepeatedTrailingChars
repeated trailing chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.HasRepeatedTrailingChars()
#--> 1
composed from the signature, run for this page
QCSXTZZZIBWU
RepeatedTrailingChars
repeated trailing chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.RepeatedTrailingChars()
#--> YYY
composed from the signature, run for this page
QCSXTZZZIBWU
RepeatedTrailingChar
repeated trailing chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.RepeatedTrailingChar()
#--> Y
composed from the signature, run for this page
no extension
NumberOfRepeatedTrailingChars
repeated trailing chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.NumberOfRepeatedTrailingChars()
#--> 3
composed from the signature, run for this page
no extension
TrailingChar
repeated trailing chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.TrailingChar()
#--> Y
composed from the signature, run for this page
no extension
RemoveRepeatedLeadingChars
removing repeated leading / trailing charsQCSXTZZZIBWU
RepeatedLeadingCharsRemoved
removing repeated leading / trailing charsno extension
RemoveRepeatedTrailingChars
removing repeated leading / trailing chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
o1.RemoveRepeatedTrailingChars()
? o1.Content()
#--> HelloY
composed from the signature, run for this page
QCSXTZZZIBWU
RepeatedTrailingCharsRemoved
removing repeated leading / trailing chars
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.RepeatedTrailingCharsRemoved()
#--> HelloY
composed from the signature, run for this page
no extension
RemoveThisLeadingChar
(no comment in the source: the name reads as a sentence) remove this leading charin the section removing a specific leading / trailing charQCSXTZZZIBWU
RemoveLeadingChar
(no comment in the source: the name reads as a sentence) remove leading charin the section removing a specific leading / trailing charQCSXTZZZIBWU
RemoveThisTrailingChar
(no comment in the source: the name reads as a sentence) remove this trailing charin the section removing a specific leading / trailing charQCSXTZZZIBWU
RemoveTrailingChar
(no comment in the source: the name reads as a sentence) remove trailing charin the section removing a specific leading / trailing charQCSXTZZZIBWU
RemoveThisLeadingAndTrailingChar
removing leading and trailing at onceQCSXTZZZIBWU
StartsWith
checking starts with / ends with
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.StartsWith("an")
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
EndsWith
checking starts with / ends with
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.EndsWith("an")
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
RemoveFromStart
(no comment in the source: the name reads as a sentence) remove from startin the section removing from start / endQCSXTZZZIBWU
RemovedFromStart
(no comment in the source: the name reads as a sentence) removed from startin the section removing from start / endQCSXTZZZIBWU
RemoveFromEnd
(no comment in the source: the name reads as a sentence) remove from endin the section removing from start / endQCSXTZZZIBWU
RemovedFromEnd
(no comment in the source: the name reads as a sentence) removed from endin the section removing from start / endQCSXTZZZIBWU
EnsurePrefix
(no comment in the source: the name reads as a sentence) ensure prefixin the section ensure prefix / suffixQCSXTZZZIBWU
PrefixEnsured
(no comment in the source: the name reads as a sentence) prefix ensuredin the section ensure prefix / suffix
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.PrefixEnsured("an")
#--> anHelloYYY
composed from the signature, run for this page
QCSXTZZZIBWU
EnsureSuffix
(no comment in the source: the name reads as a sentence) ensure suffixin the section ensure prefix / suffixQCSXTZZZIBWU
SuffixEnsured
(no comment in the source: the name reads as a sentence) suffix ensuredin the section ensure prefix / suffix
composed example
o1 = new stzStringLeadTrail("HelloYYY")
? o1.SuffixEnsured("an")
#--> HelloYYYan
composed from the signature, run for this page
QCSXTZZZIBWU