Softanza
StartFrançais
Softanza
The library documents itself · String

stzStringEncoder

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

the source: base/string/stzStringEncoder.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; 11 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzStringEncoder("hello%20world"). 24 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 stzStringEncoder("hello%20world")
? o1.NumberOfChars()
#--> 13
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 stzStringEncoder("hello%20world")
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
ToHex
The string's bytes in hexadecimal form.also written: Hexcodes
composed example
o1 = new stzStringEncoder("hello%20world")
? o1.ToHex()
#--> 68656c6c6f253230776f726c64
composed from the signature, run for this page
QCSXTZZZIBWU
ToHexWithPrefix
hex
composed example
o1 = new stzStringEncoder("hello%20world")
? o1.ToHexWithPrefix()
#--> 0x68656c6c6f253230776f726c64
composed from the signature, run for this page
no extension
FromHex
hexQCSXTZZZIBWU
UrlEncoded
The string URL-encoded.no extension
UrlEncode
url encodingno extension
UrlDecoded
The string URL-decoded.no extension
UrlDecode
url encodingno extension
AsciiCodes
char codes
composed example
o1 = new stzStringEncoder("hello%20world")
? @@( o1.AsciiCodes() )
#--> [ 104, 101, 108, 108, 111, 37, 50, 48, 119, 111, 114, 108, 100 ]
composed from the signature, run for this page
no extension
Unicodes
char codes
composed example
o1 = new stzStringEncoder("hello%20world")
? @@( o1.Unicodes() )
#--> [ 104, 101, 108, 108, 111, 37, 50, 48, 119, 111, 114, 108, 100 ]
composed from the signature, run for this page
no extension
ToBinary
The string's bytes in binary form.
composed example
o1 = new stzStringEncoder("hello%20world")
? o1.ToBinary()
#--> 01101000 01100101 01101100 01101100 01101111 00100101 00110010 00110000 01110111 01101111 01110010 01101100 01100100
composed from the signature, run for this page
no extension
FromBinary
binaryQCSXTZZZIBWU
ToOctal
The string's bytes in octal form.
composed example
o1 = new stzStringEncoder("hello%20world")
? o1.ToOctal()
#--> 150 145 154 154 157 045 062 060 167 157 162 154 144
composed from the signature, run for this page
no extension
ToCharCodes
char codes (string)
composed example
o1 = new stzStringEncoder("hello%20world")
? o1.ToCharCodes()
#--> 104 101 108 108 111 37 50 48 119 111 114 108 100
composed from the signature, run for this page
no extension
FromCharCodes
char codes (string)QCSXTZZZIBWU
HtmlEncoded
The string with the HTML-special chars encoded as entities. Engine-backed. This built a per-character LIST of the whole string and concatenated onto a growing result -- the wrap-to-scan shape, quadratic in the string length. The engine does the same five substitutions (& < > " and ' -> &#39;) in one pass, and the bridge now sizes its buffer to fit rather than silently returning "" past 64 KB.no extension
HtmlEncode
html encodingQCSXTZZZIBWU
HtmlDecoded
The engine makes ONE left-to-right pass, consuming each entity whole and advancing past it, so a decoded '&' can never re-trigger a match. It also covers &apos; &nbsp; and numeric entities (&#NN; / &#xHH;), which the five-replace version silently left intact -- a widening, not a behaviour change for anything the old code handled.no extension
HtmlDecode
html encodingQCSXTZZZIBWU
EscapedForRegex
The string with the regex special chars escaped. One engine pass. This used to build a per-character LIST of the whole string (@oString.Chars()) and scan the metacharacter set for each one, which allocates a Haro object per character to answer a question about 14 ASCII bytes. Same set, same result.no extension
EscapeForRegex
regex escapingQCSXTZZZIBWU
Reverse
reverse
composed example
o1 = new stzStringEncoder("hello%20world")
o1.Reverse()
? o1.Content()
#--> dlrow02%olleh
composed from the signature, run for this page
QCSXTZZZIBWU
Reversed
reverse
composed example
o1 = new stzStringEncoder("hello%20world")
? o1.Reversed()
#--> dlrow02%olleh
composed from the signature, run for this page
no extension
NormalizeNFC
(no comment in the source: the name reads as a sentence) normalize nfcin the section unicode normalizationQCSXTZZZIBWU
NormalizedNFC
The string in Unicode NFC normal form.also written: Normalizedno extension
NormalizeNFD
(no comment in the source: the name reads as a sentence) normalize nfdin the section unicode normalizationQCSXTZZZIBWU
NormalizedNFD
The string in Unicode NFD normal form.no extension
NormalizeNFKC
(no comment in the source: the name reads as a sentence) normalize nfkcin the section unicode normalizationQCSXTZZZIBWU
NormalizedNFKC
The string in Unicode NFKC normal form.no extension
NormalizeNFKD
(no comment in the source: the name reads as a sentence) normalize nfkdin the section unicode normalizationQCSXTZZZIBWU
NormalizedNFKD
The string in Unicode NFKD normal form.no extension
Normalize
(no comment in the source: the name reads as a sentence) normalizein the section unicode normalizationQCSXTZZZIBWU