SpacifyChars()
SpacifyChars / SpacifyCharsUsing / SpacifyCharsXT -- char-wise Spacify variants: insert a separator between every pair of consecutive chars (with optional step + direction).
Basic examples (2)
o1 = new stzString("99999999999")
o1.SpacifyChars()
# a space is inserted between every 9
? o1.Content()9 9 9 9 9 9 9 9 9 9 9
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 268_content.ring(opens in a new tab)
o1 = new stzString("SOFTANZA")
o1.SpacifyCharsXT("~", 3, :backward)
# threes from the tail
? o1.Content()SO~FTA~NZA
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 946_content.ring(opens in a new tab)
Scope (1)
o1 = new stzString("SOFTANZA")
o1.SpacifyCharsXT(:Separator = "~", :Step = 2, :Direction = :Default)
# pairs joined by tildes
? o1.Content()SO~FT~AN~ZA
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 945_content.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.

