VizFind()
VizFind / VizFindCSXT / VizFindXT -- visualization (returns a rendered string showing match positions). Provisional: just return the content with matched chars highlighted via ASCII.
Basic examples (2)
# four carets on the rail
? StzStringQ("ABTCADNBBABEFACCC").VizFind("A")ABTCADNBBABEFACCC ^---^----^---^---
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 900_vizfind.ring(opens in a new tab)
o1 = new stzString("..STZ..StZ..stz")
# all three marked
? o1.vizFindCS("stz", FALSE)..STZ..StZ..stz --^----^----^--
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 953_vizfindcs.ring(opens in a new tab)
Scope (1)
o1 = new stzString("..STZ..StZ..stz")
cExp = "..STZ..StZ..stz" + NL +
"--^----^----^--" + NL +
" 3 8 13 "
# VizFindXT with :CS in the options
? o1.VizFindXT("stz", [ :Numbered = TRUE, :CS = FALSE ])
# VizFindCSXT with the dial as its own param
? o1.VizFindCSXT("stz", :CS = FALSE, [ :Numbered = TRUE ])
# ... and the uppercase needle finds the same
? o1.VizFindCSXT("STZ", :CS = FALSE, [ :Numbered = TRUE ])..STZ..StZ..stz --^----^----^-- 3 8 13 ..STZ..StZ..stz --^----^----^-- 3 8 13 ..STZ..StZ..stz --^----^----^-- 3 8 13
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 954_vizfindcsxt.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.

