Radius
1
stzGraph
o1 = new stzGraph("g")
o1.AddNode("A") o1.AddNode("B") o1.AddNode("C")
o1.AddNode("D")
o1.AddEdge("A", "B") o1.AddEdge("A", "C")
o1.AddEdge("B", "D")
? o1.Radius()
#--> 1composed from the signature, run for this page · stzGraphRandomPosition
2
stzList · stzListRandom
o1 = new stzList([ 5, 3, 8, 3, 1 ]) ? o1.AnyPosition() #--> 1composed from the signature, run for this page · stzList
RandomSection
2
stzList · stzStringRandomizer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) ? @@( o1.ASection() ) #--> [ 4, 4 ]composed from the signature, run for this page · stzList
Range
11
stzDataSet · stzList · stzListBounder · stzListGetter · stzListOfBytes · stzListSections · stzSoundInstrument · stzString · stzStringBounder · stzStringGetter · stzStringSections
o1 = new stzString("banana split")
? o1.Range(2, 5)
#--> ananacomposed from the signature, run for this page · stzStringRangeRemoved
2
stzStringRemover · stzStringSections
o1 = new stzStringSections("ABCDEFGHIJ")
? o1.RangeRemoved(2, 5)
#--> AGHIJcomposed from the signature, run for this page · stzStringSectionsRanges
3
stzList · stzListSections · stzString
o1 = new stzString("banana split")
? @@( o1.Ranges(3) )
#--> [ [ "b", "b" ], [ "a", "a" ], [ "n", "n" ], [ "a", "a" ], [ "n", "n" ], [ "a", "a" ], [ " ", " " ], [ "s", "s" ], [ "p", "p" ], [ "l", "l" ], [ "i", "i" ], [ "t", "t" ] ]composed from the signature, run for this page · stzStringRanked
2
stzList · stzListSorter
o1 = new stzList([ 5, 3, 8, 3, 1 ]) ? @@( o1.Ranked() ) #--> [ 4, 2, 5, 2, 1 ]composed from the signature, run for this page · stzList
RankedForQuery
1
stzListOfTexts
o1 = new stzListOfTexts([ "a", "b" ])
? @@( o1.RankedForQuery("a") )
#--> [ [ "a", 1 ], [ "b", 0 ] ]composed from the signature, run for this page · stzListOfTextsRankedKeywords
2
RankSeparation
1
stzDiagram
o1 = new stzDiagram("flow")
o1.AddNode("A") o1.AddNode("B") o1.AddNode("C")
o1.AddNode("D")
o1.AddEdge("A", "B") o1.AddEdge("A", "C")
o1.AddEdge("B", "D")
? o1.RankSeparation()
#--> 0.80composed from the signature, run for this page · stzDiagramRateOf
1
stzRateLimiter
o1 = new stzRateLimiter("front")
? o1.RateOf("an")
#--> 0composed from the signature, run for this page · stzRateLimiterReachableFrom
1
stzGraph
o1 = new stzGraph("g")
o1.AddNode("A") o1.AddNode("B") o1.AddNode("C")
o1.AddNode("D")
o1.AddEdge("A", "B") o1.AddEdge("A", "C")
o1.AddEdge("B", "D")
? @@( o1.ReachableFrom("A") )
#--> [ "b", "c", "d" ]composed from the signature, run for this page · stzGraphReactorQ
6
ReadabilityGrade
2
RealPart
1
stzComplex
o1 = new stzComplex(1, -2) ? o1.RealPart() #--> 1composed from the signature, run for this page · stzComplex
RealRoots
1
stzPolynomial
o1 = new stzPolynomial([1, -3, -5, 5, -6, 8]) ? @@( o1.RealRoots() ) #--> [ -2.00, 1.00, 4.00 ]composed from the signature, run for this page · stzPolynomial
RealRootsWithin
1
stzPolynomial
o1 = new stzPolynomial([1, -3, -5, 5, -6, 8]) ? @@( o1.RealRootsWithin(2) ) #--> [ -2.00, -0.00, -0.00, 1.00, 4.00 ]composed from the signature, run for this page · stzPolynomial
Recommend
2
stzGraphComparison · stzTukeyReexpression
g1 = new stzGraph("base")
g1.AddNode("A") g1.AddNode("B")
g1.AddEdge("A", "B")
g2 = new stzGraph("other")
g2.AddNode("A") g2.AddNode("B") g2.AddNode("C")
g2.AddEdge("A", "B") g2.AddEdge("B", "C")
o1 = new stzGraphComparison(g1, [ g2 ])
? @@( o1.Recommend() )
#--> [ [ "recommended", "V1" ], [ "reason", "Best balance of structure, connectivity, and acyclicity" ] ]composed from the signature, run for this page · stzGraphComparisonRecord
9
RecursiveDepth
1
stzRegex
o1 = new stzRegex("[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+")
? o1.RecursiveDepth()
#--> 0composed from the signature, run for this page · stzRegexRecursiveMatchInfo
1
stzRegex
o1 = new stzRegex("[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+")
? @@( o1.RecursiveMatchInfo() )
#--> [ [ "isrecursive", 0 ], [ "depth", 0 ], [ "matches", [ ] ] ]composed from the signature, run for this page · stzRegexRedo
3
stzDiagram · stzRefinableCode · stzString
o1 = new stzDiagram("flow")
o1.AddNode("A") o1.AddNode("B") o1.AddNode("C")
o1.AddNode("D")
o1.AddEdge("A", "B") o1.AddEdge("A", "C")
o1.AddEdge("B", "D")
? o1.Redo()
#--> 0composed from the signature, run for this page · stzDiagramReduceConcat
1
stzYielder
o1 = new stzYielder(["hello", "WORLD", " mixed "])
? o1.ReduceConcat(" ")
#--> hello WORLD mixedcomposed from the signature, run for this page · stzYielderReduceNoInit
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ])
? o1.ReduceNoInit("@item > 3")
#--> 0composed from the signature, run for this page · stzListRefillPerSecond
1
stzRetryBudget
o1 = new stzRetryBudget(1, 10) ? o1.RefillPerSecond() #--> 1composed from the signature, run for this page · stzRetryBudget
RefinementPoints
1
stzRefinableCode
cCfg = 'vat = <R:PARAM name="vat" value="0.10" min="0" max="0.25">' o1 = new stzRefinableCode(cCfg) ? @@( o1.RefinementPoints() ) #--> [ [ "vat", "param", "0.10" ] ]composed from the signature, run for this page · stzRefinableCode
Refusals
17
stzAgentFolder · stzEarcons · stzListener · stzMusic · stzPattern · stzSecurityLedger · stzSoundFormantVoice · stzSoundInstrument · stzSoundLive · stzSoundRetunedVoice · stzSoundScheduler · stzSoundScore · stzSoundScoreRenderer · stzSoundTransport · stzSoundUniverse · stzVoice · stzVoicePool
o1 = new stzPattern("red ~ blue [green green]")
? o1.Refusals()
#--> 0composed from the signature, run for this page · stzPatternRegime
1
stzNumber
o1 = new stzNumber(12) ? o1.Regime() #--> machinecomposed from the signature, run for this page · stzNumber
RegimePlaces
1
stzNumber
o1 = new stzNumber(12) ? o1.RegimePlaces() #--> 0composed from the signature, run for this page · stzNumber
RejectedCount
2
stzRateLimiter · stzWorkerProfile
o1 = new stzRateLimiter("front")
? o1.RejectedCount("an")
#--> 0composed from the signature, run for this page · stzRateLimiterRelation
1
stzMathClaim
o1 = new stzMathClaim("3^2 + 4^2 + 1 = 5^2")
? o1.Relation()
#--> =composed from the signature, run for this page · stzMathClaimRelationHasLaw
1
stzKnowledgeGraph
o1 = new stzKnowledgeGraph("fluency-space")
? o1.RelationHasLaw("an", "an")
#--> 0composed from the signature, run for this page · stzKnowledgeGraphRelativeFrequency
1
stzDataSet
o1 = new stzDataSet([ 2, 4, 4, 5, 7, 9, 12, 25 ]) ? @@( o1.RelativeFrequency() ) #--> [ [ "2", 0.13 ], [ "4", 0.25 ], [ "5", 0.13 ], [ "7", 0.13 ], [ "9", 0.13 ], [ "12", 0.13 ], [ "25", 0.13 ] ]composed from the signature, run for this page · stzDataSet
Release
17
Remove
11
stzFileBlobStore · stzFileManager · stzFileTree · stzList · stzListOfBytes · stzListRemover · stzMemoryBlobStore · stzRelation · stzString · stzStringRemover · stzStringReplacer
o1 = new stzString("banana split")
o1.Remove("an")
? o1.Content()
#--> ba splitcomposed from the signature, run for this page · stzStringRemoveAll
6
stzFolder · stzList · stzListRemover · stzString · stzStringList · stzStringRemover
oL = new stzList(aOrders)
oL.RemoveAll("tea")
? @@( oL.Content() )
#--> [ "rice", "fish", "rice", "soup", "rice" ]library test · stzListRemoveAllDuplicateChars
1
stzStringDuplicates
o1 = new stzStringDuplicates("hello world hello")
o1.RemoveAllDuplicateChars()
? o1.Content()
#--> helo wrdcomposed from the signature, run for this page · stzStringDuplicatesRemoveAllExceptNonNumbers
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemoveAllExceptNonNumbers() ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemoveAllSpaces
1
stzStringRemover
o1 = new stzStringRemover("hello <<world>> there")
o1.RemoveAllSpaces()
? o1.Content()
#--> hello<<world>>therecomposed from the signature, run for this page · stzStringRemoverRemoveAnyItemFromEnd
1
stzList
o1 = new stzList([ "🔻", "🔻", "1", "2", "3", "🔻", "🔻" ])
o1.RemoveAnyItemFromStart("🔻")
? @@( o1.Content() )
o1.RemoveAnyItemFromEnd("🔻")
? @@( o1.Content() )
#--> [ "1", "2", "3", "🔻", "🔻" ]
#--> [ "1", "2", "3" ]library test · stzListRemoveAnyItemFromStart
1
stzList
o1 = new stzList([ "🔻", "🔻", "1", "2", "3", "🔻", "🔻" ])
o1.RemoveAnyItemFromStart("🔻")
? @@( o1.Content() )
o1.RemoveAnyItemFromEnd("🔻")
? @@( o1.Content() )
#--> [ "1", "2", "3", "🔻", "🔻" ]
#--> [ "1", "2", "3" ]library test · stzListRemoveAnyLeadingChar
1
stzString
o1 = new stzString("banana split")
o1.RemoveAnyLeadingChar()
? o1.Content()
#--> anana splitcomposed from the signature, run for this page · stzStringRemoveAnySubStringBoundedBy
1
stzString
o1 = new stzString("bla bla <<word>> bla bla <<noword>> bla <<word>>")
o1.RemoveAnySubStringBoundedBy([ "<<", ">>" ])
# the shells remain
? o1.Content()
#--> bla bla <<>> bla bla <<>> bla <<>>library test · stzStringRemoveAt
4
stzList · stzListRemover · stzString · stzStringList
o1 = new stzString("banana split")
o1.RemoveAt(2, "an")
? o1.Content()
#--> bana splitcomposed from the signature, run for this page · stzStringRemoveAtPosition
3
stzListRemover · stzString · stzStringRemover
o1 = new stzString("banana split")
o1.RemoveAtPosition(2)
? o1.Content()
#--> bnana splitcomposed from the signature, run for this page · stzStringRemoveAtPositions
1
stzListRemover
o1 = new stzListRemover(["first", "second", "third"]) o1.RemoveAtPositions([ 2, 3 ]) ? @@( o1.Content() ) #--> [ "first" ]composed from the signature, run for this page · stzListRemover
RemoveBetween
3
stzString · stzStringBounder · stzStringRemover
o1 = new stzString("__/♥\__")
o1.RemoveBetween("/", "\")
# the heart between / and \\ is gone, bounds kept
? o1.Content()
#--> __/\__library test · stzStringRemoveBoundedSubString
1
stzString
o1 = new stzString("bla word bla <<word>> bla bla <<word>> bla <<word>> word")
o1.RemoveBoundedSubString("word")
# only the bounded contents vanish
? o1.Content()
#--> bla word bla <<>> bla bla <<>> bla <<>> wordlibrary test · stzStringRemoveBoundingChars
1
stzString
o1 = new stzString("banana split")
o1.RemoveBoundingChars()
? o1.Content()
#--> anana splicomposed from the signature, run for this page · stzStringRemoveBounds
3
stzList · stzListBounder · stzString
o1 = new stzString("banana split")
o1.RemoveBounds()
? o1.Content()
#--> anana splicomposed from the signature, run for this page · stzStringRemoveChar
1
stzString
o1 = new stzString("banana split")
o1.RemoveChar(2)
? o1.Content()
#--> bnana splitcomposed from the signature, run for this page · stzStringRemoveCharAt
2
stzString · stzStringRemover
o1 = new stzString("banana split")
o1.RemoveCharAt(2)
? o1.Content()
#--> bnana splitcomposed from the signature, run for this page · stzStringRemoveCharsAtPositions
1
stzStringRemover
o1 = new stzStringRemover("hello <<world>> there")
o1.RemoveCharsAtPositions([ "an", "a" ])
? o1.Content()
#--> llo <<world>> therecomposed from the signature, run for this page · stzStringRemoverRemoveCharsW
1
stzString
o1 = new stzString("banana split")
o1.RemoveCharsW("@char = 'a'")
? o1.Content()
#--> bnn splitcomposed from the signature, run for this page · stzStringRemoveConsecutiveDuplicateChars
1
stzStringDuplicates
o1 = new stzStringDuplicates("hello world hello")
o1.RemoveConsecutiveDuplicateChars()
? o1.Content()
#--> helo world helocomposed from the signature, run for this page · stzStringDuplicatesRemoved
6
stzItemCS · stzOccurrences · stzString · stzStringRemover · stzStringReplacer · stzStringSubStringCS
o1 = new stzString("banana split")
? o1.Removed("an")
#--> ba splitcomposed from the signature, run for this page · stzStringRemovedItemsComparedToCS
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) ? @@( o1.RemovedItemsComparedToCS([ 2, 3 ], TRUE) ) #--> [ 5, 8, 1 ]composed from the signature, run for this page · stzList
RemoveDupChars
1
stzString
o1 = new stzString("banana split")
o1.RemoveDupChars()
? o1.Content()
#--> ban splitcomposed from the signature, run for this page · stzStringRemoveDuplicatedChars
1
stzString
o1 = new stzString("banana split")
o1.RemoveDuplicatedChars()
? o1.Content()
#--> ban splitcomposed from the signature, run for this page · stzStringRemoveDuplicatedItems
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveDuplicatedItems() ? @@( o1.Content() ) #--> [ 5, 3, 8, 1 ]composed from the signature, run for this page · stzList
RemoveDuplicateLines
1
stzStringLines
cDup = "aaa" + NL + "bbb" + NL + "aaa" o1 = new stzStringLines(cDup) o1.RemoveDuplicateLines() ? o1.Content() #--> aaa #--> bbbcomposed from the signature, run for this page · stzStringLines
RemoveDuplicates
6
stzDataWrangler · stzList · stzListDuplicates · stzString · stzStringList · stzStringRemover
o1 = new stzList([ 1:3, 4:6, 1:3, 1:3, 4:6, 7:10 ]) o1.Removeduplicates() ? @@( o1.Content() ) #--> [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9, 10 ] ]library test · stzList
RemoveDuplicatesOrigins
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveDuplicatesOrigins() ? @@( o1.Content() ) #--> [ 5, 8, 3, 1 ]composed from the signature, run for this page · stzList
RemoveDupOrigins
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveDupOrigins() ? @@( o1.Content() ) #--> [ 5, 8, 3, 1 ]composed from the signature, run for this page · stzList
RemoveDupSecutiveItem
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemoveDupSecutiveItem(3) ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemoveDupSecutiveItems
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemoveDupSecutiveItems() ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemoveDupSecutiveSubStrings
1
stzString
o1 = new stzString("banana split")
o1.RemoveDupSecutiveSubStrings()
? o1.Content()
#--> ban splitcomposed from the signature, run for this page · stzStringRemoveEmptyStrings
2
stzList · stzStringList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemoveEmptyStrings() ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemoveEntityN
1
stzListOfEntities
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) o1.RemoveEntityN(2) ? @@( o1.Content() ) #--> [ [ [ "name", "alice" ], [ "type", "person" ], [ "age", 30 ] ], [ [ "name", "ferrari" ], [ "type", "car" ], [ "brand", "ferrari" ] ] ]composed from the signature, run for this page · stzListOfEntities
RemoveFirst
5
stzList · stzString · stzStringList · stzStringRemover · stzStringReplacer
o1 = new stzString("**A1****A2***A3")
o1.RemoveFirst("A")
# the first A is gone
? o1.Content()
#--> **1****A2***A3library test · stzStringRemoveFirstAndLastChars
1
stzString
# removing the first and last chars leaves the inner content
o = new stzString('[ @$2{"a";1;[1]}U ]')
o.RemoveFirstAndLastChars()
? o.Content()
#--> @$2{"a";1;[1]}Ulibrary test · stzStringRemoveFirstAndLastItems
2
stzList · stzListRemover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveFirstAndLastItems() ? @@( o1.Content() ) #--> [ 3, 8, 3 ]composed from the signature, run for this page · stzList
RemoveFirstChar
1
stzString
o1 = new stzString("1BATISTA")
o1.RemoveFirstChar()
# mutated in place
? o1.Content()
# or functionally
? StzStringQ("1BATISTA").FirstCharRemoved()
#--> BATISTA
#--> BATISTAlibrary test · stzStringRemoveFirstItem
2
stzList · stzListRemover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveFirstItem() ? @@( o1.Content() ) #--> [ 3, 8, 3, 1 ]composed from the signature, run for this page · stzList
RemoveFirstOccurrence
2
stzListRemover · stzString
o1 = new stzString("LandRingoriaLand")
o1.RemoveFirstOccurrence( :Of = "Land")
# the trailing one stays
? o1.Content()
#--> RingoriaLandlibrary test · stzStringRemoveFirstString
1
stzStringList
o1 = new stzStringList([ "tea", "rice", "fish" ]) o1.RemoveFirstString() ? @@( o1.Content() ) #--> [ "rice", "fish" ]composed from the signature, run for this page · stzStringList
RemoveFromEnd
2
stzString · stzStringLeadTrail
o1 = new stzString("programming*")
o1.RemoveFromEnd("*")
# bare word
? o1.Content()
#--> programminglibrary test · stzStringRemoveFromLeft
2
stzString · stzStringRemover
o1 = new stzString("let's say welcome to everyone!")
o1.RemoveFromLeft("let's say ")
# the lead is gone
? o1.Content()
#--> welcome to everyone!library test · stzStringRemoveFromRight
2
stzString · stzStringRemover
o1 = new stzString("هذه الكلمات الّتي سوف تبقى")
# the right 4 chars open the text
? o1.NRightCharsAsSubstring(4)
o1.RemoveFromRight("هذه ")
# removing from the right trims the start
? o1.Content()
#--> هذه
#--> الكلمات الّتي سوف تبقىlibrary test · stzStringRemoveItemAtPosition
3
stzList · stzListDuplicates · stzListRemover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveItemAtPosition(2) ? @@( o1.Content() ) #--> [ 5, 8, 3, 1 ]composed from the signature, run for this page · stzList
RemoveItemCS
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveItemCS(3, TRUE) ? @@( o1.Content() ) #--> [ 5, 8, 1 ]composed from the signature, run for this page · stzList
RemoveItemsAtPositions
2
stzList · stzListRemover
o1 = new stzList([ "a", "b", "b", "b", "c" ]) o1.RemoveItemsAtPositions([2,3,4]) ? o1.Content() #--> a #--> clibrary test · stzList
RemoveItemsAtThesePositions
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveItemsAtThesePositions([ 2, 3 ]) ? @@( o1.Content() ) #--> [ 5, 3, 1 ]composed from the signature, run for this page · stzList
RemoveItemsOtherThan
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveItemsOtherThan([ 2, 3 ]) ? @@( o1.Content() ) #--> [ 3, 3 ]composed from the signature, run for this page · stzList
RemoveLast
3
stzString · stzStringRemover · stzStringReplacer
o1 = new stzString("**A1****A2***A3")
o1.RemoveLast("A")
# the third A is gone
? o1.Content()
#--> **A1****A2***3library test · stzStringRemoveLastChar
1
stzString
o1 = new stzString("BATISTA1")
o1.RemoveLastChar()
# mutated in place
? o1.Content()
# or functionally
? StzStringQ("BATISTA1").LastCharRemoved()
#--> BATISTA
#--> BATISTAlibrary test · stzStringRemoveLastItem
2
stzList · stzListRemover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveLastItem() ? @@( o1.Content() ) #--> [ 5, 3, 8, 3 ]composed from the signature, run for this page · stzList
RemoveLastString
1
stzStringList
o1 = new stzStringList([ "tea", "rice", "fish" ]) o1.RemoveLastString() ? @@( o1.Content() ) #--> [ "tea", "rice" ]composed from the signature, run for this page · stzStringList
RemoveLeadingAndTrailingChars
1
stzString
o1 = new stzString("banana split")
o1.RemoveLeadingAndTrailingChars()
? o1.Content()
#--> anana splicomposed from the signature, run for this page · stzStringRemoveLeadingChar
2
stzString · stzStringLeadTrail
o1 = new stzString("banana split")
o1.RemoveLeadingChar()
? o1.Content()
#--> anana splitcomposed from the signature, run for this page · stzStringRemoveLeadingChars
1
stzString
o1 = new stzString("banana split")
o1.RemoveLeadingChars()
? o1.Content()
#--> anana splitcomposed from the signature, run for this page · stzStringRemoveLeadingSubString
1
stzString
o1 = new stzString("banana split")
o1.RemoveLeadingSubString()
? o1.Content()
#--> anana splitcomposed from the signature, run for this page · stzStringRemoveLeftOccurrence
1
stzString
o1 = new stzString("banana split")
o1.RemoveLeftOccurrence("an")
? o1.Content()
#--> bana splitcomposed from the signature, run for this page · stzStringRemoveLinkAt
1
stzDiagram
o1 = new stzDiagram("flow")
o1.AddNode("A") o1.AddNode("B") o1.AddNode("C")
o1.AddNode("D")
o1.AddEdge("A", "B") o1.AddEdge("A", "C")
o1.AddEdge("B", "D")
? o1.RemoveLinkAt(2, 5)
#--> 0composed from the signature, run for this page · stzDiagramRemoveNBytesFromEnd
1
stzListOfBytes
o1 = new stzListOfBytes("Hello, World!")
o1.RemoveNBytesFromEnd(2)
? @@( o1.Content() )
#--> [ "H", "e", "l", "l", "o", ",", " ", "W", "o", "r", "l" ]composed from the signature, run for this page · stzListOfBytesRemoveNCharsLeft
1
stzString
o1 = new stzString("banana split")
o1.RemoveNCharsLeft(2)
? o1.Content()
#--> nana splitcomposed from the signature, run for this page · stzStringRemoveNCharsRight
1
stzString
o1 = new stzString("banana split")
o1.RemoveNCharsRight(2)
? o1.Content()
#--> banana splcomposed from the signature, run for this page · stzStringRemoveNextNthOccurrence
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemoveNextNthOccurrence(2, 3, 5) ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemoveNextNthOccurrences
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemoveNextNthOccurrences([ 2, 3 ], 3, 2) ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemoveNFirstChars
1
stzString
o1 = new stzString("123BATISTA")
o1.RemoveNFirstChars(3)
# mutated in place
? o1.Content()
# or functionally
? StzStringQ("123BATISTA").FirstNCharsRemoved(3)
#--> BATISTA
#--> BATISTAlibrary test · stzStringRemoveNLastChars
1
stzString
o1 = new stzString("BATISTA123")
o1.RemoveNLastChars(3)
# mutated in place
? o1.Content()
# or functionally
? StzStringQ("BATISTA123").LastNCharsRemoved(3)
#--> BATISTA
#--> BATISTAlibrary test · stzStringRemoveNLeftChars
1
stzString
o1 = new stzString("سلام لأهل مصر الكرام")
o1.RemoveNLeftChars(7)
# the head is gone, string-order
? o1.Content()
#--> هل مصر الكرامlibrary test · stzStringRemoveNonDuplicates
1
stzList
o1 = new stzList([ "A", "B", "2", "A", "A", "B", 2, 2, "." ]) o1.RemoveNonDuplicates() # removenonduplicates example 1 ? @@( o1.Content() ) #--> [ "A", "B", "A", "A", "B", 2, 2 ]library test · stzList
RemoveNRightChars
1
stzString
o1 = new stzString("eeebxeTuniseee")
o1.RemoveNLeftChars(3)
o1.RemoveNRightChars(3)
# the middle remains
? o1.Content()
#--> bxeTunislibrary test · stzStringRemoveNth
4
stzList · stzString · stzStringRemover · stzStringReplacer
o1 = new stzString("banana split")
o1.RemoveNth(2, "an")
? o1.Content()
#--> bana splitcomposed from the signature, run for this page · stzStringRemoveNthChar
1
stzString
o1 = new stzString("125.450")
o1.RemoveNthChar(7)
# the 7th char is gone
? o1.Content()
#--> 125.45library test · stzStringRemoveNthItem
2
stzList · stzListRemover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveNthItem(2) ? @@( o1.Content() ) #--> [ 5, 8, 3, 1 ]composed from the signature, run for this page · stzList
RemoveNthOccurrence
4
stzListRemover · stzString · stzStringList · stzStringReplacer
o1 = new stzString("**A1****A2***A3")
o1.RemoveNthOccurrence(:Last, "A")
# the third A is gone
? o1.Content()
#--> **A1****A2***3library test · stzStringRemoveNthPair
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ]) o1.RemoveNthPair(2) ? @@( o1.Content() ) #--> [ [ "name", "Aya" ], [ "city", "Niamey" ] ]composed from the signature, run for this page · stzHashList
RemoveNthString
1
stzStringList
o1 = new stzStringList([ "tea", "rice", "fish" ]) o1.RemoveNthString(2) ? @@( o1.Content() ) #--> [ "tea", "fish" ]composed from the signature, run for this page · stzStringList
RemoveNthWord
1
stzStringText
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.RemoveNthWord(2)
? o1.Content()
#--> The brown fox. It jumps!composed from the signature, run for this page · stzStringTextRemoveNumbers
2
stzList · stzStringNumbers
o1 = new stzStringNumbers("price is 42 and tax is 8")
o1.RemoveNumbers()
? o1.Content()
#--> price is and tax iscomposed from the signature, run for this page · stzStringNumbersRemoveOccurrences
1
stzList
o1 = new stzList([ "a", "b", "a", "a", "c", "d", "a" ]) o1.RemoveOccurrences([ 4, 1, 3 ], "a") ? o1.Content() #--> b #--> a #--> c #--> dlibrary test · stzList
RemoveOnlyNumbers
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemoveOnlyNumbers() ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemovePairsByValue
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.RemovePairsByValue("Aya")
? @@( o1.Content() )
#--> [ [ "age", 30 ], [ "city", "Niamey" ] ]composed from the signature, run for this page · stzHashListRemovePreviousNthOccurrence
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemovePreviousNthOccurrence(2, 3, 5) ? @@( o1.Content() ) #--> [ 5, 3, 8, 1 ]composed from the signature, run for this page · stzList
RemovePreviousNthOccurrences
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.RemovePreviousNthOccurrences([ 2, 3 ], 3, 2) ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
RemoveRange
4
stzList · stzString · stzStringRemover · stzStringSections
o1 = new stzString("extrasection")
o1.RemoveRange(1, 5)
# range removed
? o1.Content()
#--> sectionlibrary test · stzStringRemoveRepeatedLeadingChars
2
stzString · stzStringLeadTrail
o1 = new stzString("banana split")
o1.RemoveRepeatedLeadingChars()
? o1.Content()
#--> anana splitcomposed from the signature, run for this page · stzStringRemoveRepeatedTrailingChars
2
stzString · stzStringLeadTrail
o1 = new stzString("banana split")
o1.RemoveRepeatedTrailingChars()
? o1.Content()
#--> banana splicomposed from the signature, run for this page · stzStringRemoveRightOccurrence
1
stzString
o1 = new stzString("banana split")
o1.RemoveRightOccurrence("an")
? o1.Content()
#--> bana splitcomposed from the signature, run for this page · stzStringRemoveSection
5
stzList · stzListRemover · stzString · stzStringRemover · stzStringSections
o1 = new stzString("ABC456DE")
o1.RemoveSection(4, 6)
# the digits vanish
? o1.Content()
#--> ABCDElibrary test · stzStringRemoveSections
2
stzString · stzStringSections
o1 = new stzString("1♥♥456♥♥901♥♥4")
o1.RemoveSections([ 2:3, 7:8, 12:13 ])
# the three heart pairs are gone
? o1.Content()
#--> 14569014library test · stzStringRemoveSpaces
6
stzList · stzNumber · stzString · stzStringCharList · stzStringList · stzStringRemover
o1 = new stzString("banana split")
o1.RemoveSpaces()
? o1.Content()
#--> bananasplitcomposed from the signature, run for this page · stzStringRemoveStringAtPosition
1
stzStringList
o1 = new stzStringList([ "tea", "rice", "fish" ]) o1.RemoveStringAtPosition(2) ? @@( o1.Content() ) #--> [ "tea", "fish" ]composed from the signature, run for this page · stzStringList
RemoveStringsAtThesePositions
1
stzStringList
o1 = new stzStringList([ "tea", "rice", "fish" ]) o1.RemoveStringsAtThesePositions([ 2, 3 ]) ? @@( o1.Content() ) #--> [ "tea" ]composed from the signature, run for this page · stzStringList
RemoveSubStringBoundedBy
1
stzString
o1 = new stzString("__^^^__^^♥^^__")
o1.RemoveSubStringBoundedBy("♥", "^^")
# heart gone, carets stay
? o1.Content()
#--> __^^^__^^^^__library test · stzStringRemoveTheseBounds
2
RemoveTheseItems
2
RemoveTheseSubStringBounds
1
stzString
o1 = new stzString("banana split")
o1.RemoveTheseSubStringBounds("an", [ "an", "a" ])
? o1.Content()
#--> ban splitcomposed from the signature, run for this page · stzStringRemoveThisBound
1
stzString
o1 = new stzString("banana split")
o1.RemoveThisBound("an")
? o1.Content()
#--> ba splitcomposed from the signature, run for this page · stzStringRemoveThisCharFromRight
1
stzString
o1 = new stzString("12.58000")
o1.RemoveThisCharFromRightXT("0")
# the trailing zeros are gone
? o1.Content()
#--> 12.58library test · stzStringRemoveThisFirstChar
1
stzString
o1 = new stzString("{abc}")
o1.RemoveThisFirstChar("{")
o1.RemoveThisLastChar("}")
# both braces gone
? o1.Content()
#--> abclibrary test · stzStringRemoveThisFirstItem
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveThisFirstItem(3) ? @@( o1.Content() ) #--> [ 5, 8, 3, 1 ]composed from the signature, run for this page · stzList
RemoveThisLastChar
1
stzString
o1 = new stzString("{abc}")
o1.RemoveThisFirstChar("{")
o1.RemoveThisLastChar("}")
# both braces gone
? o1.Content()
#--> abclibrary test · stzStringRemoveThisLeadingChar
2
stzString · stzStringLeadTrail
o1 = new stzString("000122.12")
# the leading char
? o1.LeadingChar()
o1.RemoveThisLeadingChar("0")
# the run is gone
? o1.Content()
#--> 0
#--> 122.12library test · stzStringRemoveThisNthItem
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RemoveThisNthItem(2, 3) ? @@( o1.Content() ) #--> [ 5, 3, 8, 1 ]composed from the signature, run for this page · stzList
RemoveThisTrailingChar
2
stzString · stzStringLeadTrail
o1 = new stzString("12.4560000")
o1.RemoveThisTrailingChar("0")
# mutated in place
? o1.Content()
# or functionally
? Q("12.45600").ThisTrailingCharRemoved("0")
#--> 12.456
#--> 12.456library test · stzStringRemoveTrailingChar
2
stzString · stzStringLeadTrail
o1 = new stzString("banana split")
o1.RemoveTrailingChar()
? o1.Content()
#--> banana splicomposed from the signature, run for this page · stzStringRemoveTrailingChars
1
stzString
o1 = new stzString("banana split")
o1.RemoveTrailingChars()
? o1.Content()
#--> banana splicomposed from the signature, run for this page · stzStringRemoveTrailingSubString
1
stzString
o1 = new stzString("banana split")
o1.RemoveTrailingSubString()
? o1.Content()
#--> banana splicomposed from the signature, run for this page · stzStringRemoveWhitespace
1
stzStringReplacer
o1 = new stzStringReplacer("Hello 123 World 456")
o1.RemoveWhitespace()
? o1.Content()
#--> Hello123World456composed from the signature, run for this page · stzStringReplacerRenditionKinds
4
stzDiagram · stzGraph · stzMathDiagram · stzStoryboard
o1 = new stzMathDiagram(StzGraphDomain(), new stzMathSubstance(StzGraphDomain()), StzCurvedGraphStyle()) ? @@( o1.RenditionKinds() ) #--> [ "vector", "image", "graph", "text" ]composed from the signature, run for this page · stzMathDiagram
Repeat
4
stzList · stzSoundScore · stzString · stzStringConcat
o1 = new stzStringConcat("Hello")
o1.Repeat(2)
? o1.Content()
#--> HelloHellocomposed from the signature, run for this page · stzStringConcatRepeatedLeadingChar
2
stzString · stzStringLeadTrail
o1 = new stzString("exeeeeeTUNIS")
# no repeated leading char
? o1.RepeatedLeadingChar()
# empty list
? len( o1.RepeatedLeadingChars() )
#--> 0library test · stzStringRepeatedLeadingChars
2
stzString · stzStringLeadTrail
o1 = new stzString("exeeeeeTUNIS")
# no repeated leading char
? o1.RepeatedLeadingChar()
# empty list
? len( o1.RepeatedLeadingChars() )
#--> 0library test · stzStringRepeatedTrailingChar
2
stzString · stzStringLeadTrail
o1 = new stzStringLeadTrail("HelloYYY")
? o1.RepeatedTrailingChar()
#--> Ycomposed from the signature, run for this page · stzStringLeadTrailRepeatedTrailingChars
2
stzString · stzStringLeadTrail
o1 = new stzStringLeadTrail("HelloYYY")
? o1.RepeatedTrailingChars()
#--> YYYcomposed from the signature, run for this page · stzStringLeadTrailRepeatedTrailingCharsRemoved
1
stzStringLeadTrail
o1 = new stzStringLeadTrail("HelloYYY")
? o1.RepeatedTrailingCharsRemoved()
#--> HelloYcomposed from the signature, run for this page · stzStringLeadTrailReplace
5
stzList · stzListOfBytes · stzListReplacer · stzString · stzStringReplacer
o1 = new stzString("R I N G")
o1.Replace(" ", "-")
# Replace() mutates the object
? o1.Content()
#--> R-I-N-Glibrary test · stzStringReplaceAll
3
stzGrid · stzListReplacer · stzString
o1 = new stzString("one two three four")
o1.ReplaceAll("two", "---")
# two became dashes
? o1.Content()
#--> one --- three fourlibrary test · stzStringReplaceAllChars
1
stzString
o1 = new stzString("Use these two letters: س and ص.")
o1.ReplaceAllChars( :With = "*" )
# as many stars as chars
? o1.Content()
#--> *******************************library test · stzStringReplaceAllItems
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceAllItems(2) ? @@( o1.Content() ) #--> [ 2, 2, 2, 2, 2 ]composed from the signature, run for this page · stzList
ReplaceAllOccurrences
2
stzListReplacer · stzMatrix
o1 = new stzMatrix([ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]) o1.ReplaceAllOccurrences(2, 5) ? @@( o1.Content() ) #--> [ [ 1, 5, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]composed from the signature, run for this page · stzMatrix
ReplaceAnyBoundedBy
1
stzString
o1 = new stzString("banana split")
o1.ReplaceAnyBoundedBy([ "an", "a" ], "AN")
? o1.Content()
#--> banANana splitcomposed from the signature, run for this page · stzStringReplaceAnyItemAt
2
stzList · stzListReplacer
o1 = new stzList([ 1, 2, "♥", 4, "♥" ]) o1.ReplaceAnyItemAt(3, :With = "★") ? @@( o1.Content() ) #--> [ 1, 2, "★", 4, "♥" ]library test · stzList
ReplaceAnyItemAtPosition
1
stzListReplacer
o1 = new stzListReplacer(["Foo", "foo", "FOO", "bar"]) o1.ReplaceAnyItemAtPosition(2, 5) ? @@( o1.Content() ) #--> [ "Foo", 5, "FOO", "bar" ]composed from the signature, run for this page · stzListReplacer
ReplaceAnyItemAtPositions
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceAnyItemAtPositions([ 2, 3 ], 2) ? @@( o1.Content() ) #--> [ 5, 2, 2, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceAnyItemAtPositionsByMany
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceAnyItemAtPositionsByMany([ 2, 3 ], [ 2, 3 ]) ? @@( o1.Content() ) #--> [ 5, 2, 3, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceAnyItemsAtPositions
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceAnyItemsAtPositions([ 2, 3 ], 2) ? @@( o1.Content() ) #--> [ 5, 2, 2, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceAnyItemsAtPositionsByMany
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceAnyItemsAtPositionsByMany([ 2, 3 ], [ 2, 3 ]) ? @@( o1.Content() ) #--> [ 5, 2, 3, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceAt
5
stzList · stzListReplacer · stzString · stzStringList · stzStringReplacer
o1 = new stzList([ "A", "a", "A" ]) o1.ReplaceAt(2, :By = "A") ? o1.Content() #--> A #--> A #--> Alibrary test · stzList
ReplaceAtByManyXT
2
stzList · stzListReplacer
o1 = new stzList([ "_", "_", "3", "4", "5", "6", "7", "_", "_" ]) o1.ReplaceAtByManyXT(3:5, [ "-3", "-4", "-5" ]) ? @@( o1.Content() ) #--> [ "_", "_", "-3", "-4", "-5", "6", "7", "_", "_" ]library test · stzList
ReplaceAtPositions
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceAtPositions([ 2, 3 ], 2) ? @@( o1.Content() ) #--> [ 5, 2, 2, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceBetween
3
stzString · stzStringBounder · stzStringReplacer
o1 = new stzString("banana split")
o1.ReplaceBetween("an", "an", "AN")
? o1.Content()
#--> banANana splitcomposed from the signature, run for this page · stzStringReplaceByMany
4
stzList · stzListReplacer · stzString · stzStringReplacer
o1 = new stzList([ "♥", 2, "♥", "♥", 5, "♥" ])
o1.ReplaceByMany("♥", [ 1, 3, 4, 6 ])
? @@( o1.Content() )
#--> [ 1, 2, 3, 4, 5, 6 ]library test · stzListReplaceCharAt
2
stzString · stzStringReplacer
o1 = new stzString("ABC*EF")
o1.ReplaceCharAt(:Position = 4, :By = "D")
# the star became D
? o1.Content()
#--> ABCDEFlibrary test · stzStringReplaceCharAtSimple
1
stzString
o1 = new stzString("banana split")
o1.ReplaceCharAtSimple(2, "AN")
? o1.Content()
#--> bANnana splitcomposed from the signature, run for this page · stzStringReplaceCharsAtPositions
1
stzString
o1 = new stzString("AB3CD6EF9GH")
o1.ReplaceCharsAtPositions([ 3, 9, 6 ], Heart())
# all three replaced
? o1.Content()
#--> AB♥CD♥EF♥GHlibrary test · stzStringReplaceCharsAtPositionsByMany
1
stzString
o1 = new stzString("ab3de6gh9")
o1.ReplaceCharsAtPositionsByMany([3, 6, 9], [ "c", "f", "i" ])
# the alphabet restored
? o1.Content()
#--> abcdefghilibrary test · stzStringReplaceCharsW
1
stzString
o1 = new stzString("banana split")
o1.ReplaceCharsW("@char = 'a'", "AN")
? o1.Content()
#--> bANnANnAN splitcomposed from the signature, run for this page · stzStringReplaced
4
ReplacedWith
2
stzItemCS · stzStringSubStringCS
o1 = new stzStringSubStringCS("an", "banana", TRUE)
? o1.ReplacedWith("AN")
#--> bANANacomposed from the signature, run for this page · stzStringSubStringCSReplaceEachLeadingAndTrailingChar
1
stzString
o1 = new stzString("banana split")
o1.ReplaceEachLeadingAndTrailingChar("AN")
? o1.Content()
#--> ANanana spliANcomposed from the signature, run for this page · stzStringReplaceEachLeadingChar
1
stzString
o1 = new stzString("banana split")
o1.ReplaceEachLeadingChar("AN")
? o1.Content()
#--> ANanana splitcomposed from the signature, run for this page · stzStringReplaceEachTrailingChar
1
stzString
o1 = new stzString("banana split")
o1.ReplaceEachTrailingChar("AN")
? o1.Content()
#--> banana spliANcomposed from the signature, run for this page · stzStringReplaceElement
1
stzMatrix
o1 = new stzMatrix([ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]) o1.ReplaceElement(2, 5) ? @@( o1.Content() ) #--> [ [ 1, 5, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]composed from the signature, run for this page · stzMatrix
ReplaceElementAt
1
stzMatrix
o1 = new stzMatrix([ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]) o1.ReplaceElementAt([ 2, 3 ], 2) ? @@( o1.Content() ) #--> [ [ 1, 2, 3 ], [ 4, 5, 2 ], [ 7, 8, 9 ] ]composed from the signature, run for this page · stzMatrix
ReplaceElementsInSectionByMany
1
stzMatrix
o1 = new stzMatrix([ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]) o1.ReplaceElementsInSectionByMany([ 2, 3 ], [ 2, 3 ], [ 2, 3 ]) ? @@( o1.Content() ) #--> [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 2, 9 ] ]composed from the signature, run for this page · stzMatrix
ReplaceEmptyStrings
1
stzList
o1 = new stzList([ "tea", "rice", "tea", "fish" ]) o1.ReplaceEmptyStrings(2) ? @@( o1.Content() ) #--> [ "tea", "rice", "tea", "fish" ]composed from the signature, run for this page · stzList
ReplaceFirst
3
stzList · stzString · stzStringReplacer
o1 = new stzString("banana split")
o1.ReplaceFirst("an", "AN")
? o1.Content()
#--> bANana splitcomposed from the signature, run for this page · stzStringReplaceFirstBetween
3
stzString · stzStringBounder · stzStringReplacer
o1 = new stzString("banana split")
o1.ReplaceFirstBetween("an", "an", "AN")
? o1.Content()
#--> banANana splitcomposed from the signature, run for this page · stzStringReplaceFirstKey
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceFirstKey("AN")
? @@( o1.Content() )
#--> [ [ "AN", "Aya" ], [ "age", 30 ], [ "city", "Niamey" ] ]composed from the signature, run for this page · stzHashListReplaceFirstNChars
1
stzString
o1 = new stzString("banana split")
o1.ReplaceFirstNChars(2, "AN")
? o1.Content()
#--> ANnana splitcomposed from the signature, run for this page · stzStringReplaceFirstValue
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ]) o1.ReplaceFirstValue(2) ? @@( o1.Content() ) #--> [ [ "name", 2 ], [ "age", 30 ], [ "city", "Niamey" ] ]composed from the signature, run for this page · stzHashList
ReplaceInSection
1
stzString
# FindZZ locates the section of Programming
? @@( Q("Softanza Programming by Heart").FindZZ("Programming") )
# ReplaceInSection m->M inside [10,20]
o = new stzString("Softanza Programming by Heart")
o.ReplaceInSection("m", "M", 10, 20)
? o.Content()
#--> [ [ 10, 20 ] ]
#--> Softanza PrograMMing by Heartlibrary test · stzStringReplaceItemAtPosition
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceItemAtPosition(2, 5) ? @@( o1.Content() ) #--> [ 5, 5, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceItemAtPositionsByMany
2
stzList · stzListReplacer
o1 = new stzList([ "♥", 2, "♥", "♥", 5 ]) o1.ReplaceItemAtPositionsByMany([1, 3, 4 ], "♥", [ 1, 3, 4 ]) ? @@( o1.Content() ) #--> [ 1, 2, 3, 4, 5 ]library test · stzList
ReplaceItemByManyXT
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceItemByManyXT(3, [ 2, 3 ]) ? @@( o1.Content() ) #--> [ 5, 2, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceItemsAtPositions
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceItemsAtPositions([ 2, 3 ], 2) ? @@( o1.Content() ) #--> [ 5, 2, 2, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceItemsAtPositionsByMany
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceItemsAtPositionsByMany([ 1, 2 ], [ 2, 3 ]) ? @@( o1.Content() ) #--> [ 2, 3, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceLast
3
stzList · stzString · stzStringReplacer
o1 = new stzString("banana split")
o1.ReplaceLast("an", "AN")
? o1.Content()
#--> banANa splitcomposed from the signature, run for this page · stzStringReplaceLastBetween
2
stzString · stzStringBounder
o1 = new stzString("banana split")
o1.ReplaceLastBetween("an", "an", "AN")
? o1.Content()
#--> banANana splitcomposed from the signature, run for this page · stzStringReplaceLastKey
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceLastKey("AN")
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "age", 30 ], [ "AN", "Niamey" ] ]composed from the signature, run for this page · stzHashListReplaceLastNChars
1
stzString
o1 = new stzString("banana split")
o1.ReplaceLastNChars(2, "AN")
? o1.Content()
#--> banana splANcomposed from the signature, run for this page · stzStringReplaceLastValue
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ]) o1.ReplaceLastValue(2) ? @@( o1.Content() ) #--> [ [ "name", "Aya" ], [ "age", 30 ], [ "city", 2 ] ]composed from the signature, run for this page · stzHashList
ReplaceLeadingAndTrailingItems
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceLeadingAndTrailingItems(3) ? @@( o1.Content() ) #--> [ 3, 3, 8, 3, 3 ]composed from the signature, run for this page · stzList
ReplaceLeadingItems
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceLeadingItems(3) ? @@( o1.Content() ) #--> [ 3, 3, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceManyByMany
3
stzList · stzListReplacer · stzString
o1 = new stzList([ "A", "B", "*", "D", "*", "=" ]) o1.ReplaceManyByMany([ "*", "=" ], :With = ["C", "F"]) ? @@( o1.Content() ) #--> [ "A", "B", "C", "D", "C", "F" ]library test · stzList
ReplaceManyWithMany
1
stzString
o1 = new stzString("--Ring__Softanza..")
o1.ReplaceManyWithMany([ "--", "__", ".." ], [ "1", "2", "3" ])
# -- / __ / .. become 1 / 2 / 3
? o1.Content()
#--> 1Ring2Softanza3library test · stzStringReplaceNextNthOccurrence
3
stzList · stzListReplacer · stzString
o1 = new stzString( "----@@--@@-------@@----@@---") o1.ReplaceNextNthOccurrence(2, :Of = "@@", :StartingAt = 12, :With = "##") # the 2nd @@ after 12 became ## ? o1.Content() #--> ----@@--@@-------@@----##---library test · stzString
ReplaceNth
3
stzList · stzString · stzStringReplacer
o1 = new stzString("banana split")
o1.ReplaceNth(2, "an", "AN")
? o1.Content()
#--> banANa splitcomposed from the signature, run for this page · stzStringReplaceNthCharQ
1
stzString
# positional
? StzStringQ("évènement").ReplaceNthCharQ(3, "*").Content()
# named
? StzStringQ("évènement").ReplaceNthCharQ(3, :With = "*").Content()
#--> év*nement
#--> év*nementlibrary test · stzStringReplaceNthKey
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ]) o1.ReplaceNthKey(2, "AN") ? @@( o1.Content() ) #--> [ [ "name", "Aya" ], [ "AN", 30 ], [ "city", "Niamey" ] ]composed from the signature, run for this page · stzHashList
ReplaceNthNextOccurrenceST
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceNthNextOccurrenceST(2, 3, 5, 2) ? @@( o1.Content() ) #--> [ 5, 3, 8, 5, 1 ]composed from the signature, run for this page · stzList
ReplaceNthOccurrence
3
stzList · stzListReplacer · stzString
o1 = new stzString("banana split")
o1.ReplaceNthOccurrence(2, "an", "AN")
? o1.Content()
#--> banANa splitcomposed from the signature, run for this page · stzStringReplaceNthValue
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ]) o1.ReplaceNthValue(2, 5) ? @@( o1.Content() ) #--> [ [ "name", "Aya" ], [ "age", 5 ], [ "city", "Niamey" ] ]composed from the signature, run for this page · stzHashList
ReplaceNumber
1
stzMatrix
o1 = new stzMatrix([ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]) o1.ReplaceNumber(2, 5) ? @@( o1.Content() ) #--> [ [ 1, 5, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]composed from the signature, run for this page · stzMatrix
ReplaceNumberAt
1
stzMatrix
o1 = new stzMatrix([ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]) o1.ReplaceNumberAt([ 2, 3 ], 2) ? @@( o1.Content() ) #--> [ [ 1, 2, 3 ], [ 4, 5, 2 ], [ 7, 8, 9 ] ]composed from the signature, run for this page · stzMatrix
ReplaceNumberAtPosition
1
stzListOfNumbers
o1 = new stzListOfNumbers([ 4, 8, 15, 16, 23, 42 ]) o1.ReplaceNumberAtPosition(2, 5) ? @@( o1.Content() ) #--> [ 4, 5, 15, 16, 23, 42 ]composed from the signature, run for this page · stzListOfNumbers
ReplaceNumbersInSectionWith
1
stzListOfNumbers
o1 = new stzListOfNumbers([ 4, 8, 15, 16, 23, 42 ]) o1.ReplaceNumbersInSectionWith(2, 5, 2) ? @@( o1.Content() ) #--> [ 4, 2, 2, 2, 2, 42 ]composed from the signature, run for this page · stzListOfNumbers
ReplaceOccurrences
1
stzString
o1 = new stzString("--[...]---[...]---[...]---[~~~]--[~~~]--")
o1.ReplaceOccurrences([ 2, :and = 3 ], :of = "[...]", :by = [ "ONE", :and = "TWO" ])
# first block untouched
? o1.Content()
#--> --[...]---ONE---TWO---[~~~]--[~~~]--library test · stzStringReplaceOccurrencesByMany
3
stzList · stzListReplacer · stzString
o1 = new stzList([ "A", "B", "*", "D", "*", "=" ]) o1.ReplaceOccurrencesByMany([ 3, 5, 6 ], ["C", "E", "F"]) ? @@( o1.Content() ) #--> [ "A", "B", "C", "D", "E", "F" ]library test · stzList
ReplacePreviousNthOccurrence
2
ReplaceRepeatedLeadingItem
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceRepeatedLeadingItem(3) ? @@( o1.Content() ) #--> [ 3, 3, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceSection
4
stzList · stzListReplacer · stzMatrix · stzString
o1 = new stzString("123--67--")
o1.ReplaceSection(1, 3, "~")
# collapsed
? o1.Content()
#--> ~--67--library test · stzStringReplaceSectionByMany
3
stzList · stzListReplacer · stzMatrix
o1 = new stzList([ "A", "B", "C", "1", "2", "3", "D", "E" ]) o1.ReplaceSectionByMany(4, 6, [ "*", "*", "*", "*" ]) ? @@( o1.Content() ) #--> [ "A", "B", "C", "*", "*", "*", "*", "D", "E" ]library test · stzList
ReplaceSectionsByMany
1
stzString
o1 = new stzString("123---78--")
o1.ReplaceSectionsByMany([ [1, 3], [7, 8] ], [ "*", "~" ])
# shrunk
? o1.Content()
#--> *---~--library test · stzStringReplaceSectionWith
1
stzListOfNumbers
o1 = new stzListOfNumbers(1:8) o1.ReplaceSectionWith(3, 5, 2) ? @@( o1.Content() ) #--> [ 1, 2, 2, 2, 2, 6, 7, 8 ]library test · stzListOfNumbers
ReplaceSubStringAtPosition
1
stzString
o1 = new stzString("banana split")
o1.ReplaceSubStringAtPosition(2, "an", "AN")
? o1.Content()
#--> bANana splitcomposed from the signature, run for this page · stzStringReplaceSubStringAtPositions
1
stzString
o1 = new stzString("banana split")
o1.ReplaceSubStringAtPositions([ 1, 2 ], "an", "AN")
? o1.Content()
#--> bANana splitcomposed from the signature, run for this page · stzStringReplaceSubStringAtPositionsByMany
1
stzString
o1 = new stzString("--[...]---[...]---[...]---[~~~]--[~~~]--")
o1.ReplaceSubStringAtPositionsByMany([ 27, 34 ], "[~~~]", [ "bbb", "aaa" ])
# each got its own name
? o1.Content()
#--> --[...]---[...]---[...]---bbb--aaa--library test · stzStringReplaceSubStringsBoundedBy
1
stzString
o1 = new stzString("bla bla <<word>> bla bla <<noword>> bla <<wording>>")
o1.ReplaceSubStringsBoundedBy([ "<<", ">>" ], "wrod")
# all three regions now hold wrod
? o1.Content()
#--> bla bla <<wrod>> bla bla <<wrod>> bla <<wrod>>library test · stzStringReplaceSubStringsWithMarkers
1
stzString
o1 = new stzString("banana split")
o1.ReplaceSubStringsWithMarkers([ "an", "a" ])
? o1.Content()
#--> b#1#1#2 splitcomposed from the signature, run for this page · stzStringReplaceSubStringsWithMarquers
1
stzString
o1 = new stzString("banana split")
o1.ReplaceSubStringsWithMarquers([ "an", "a" ])
? o1.Content()
#--> b#1#1#2 splitcomposed from the signature, run for this page · stzStringReplaceTheseItemsAtPositions
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceTheseItemsAtPositions([ 2, 3 ], [ 2, 3 ], 2) ? @@( o1.Content() ) #--> [ 5, 2, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceTheseItemsAtPositionsByMany
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceTheseItemsAtPositionsByMany([ 2, 3 ], [ 2, 3 ], [ 2, 3 ]) ? @@( o1.Content() ) #--> [ 5, 2, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceThisAt
1
stzList
o1 = new stzList([ "♥", 2, "♥", "♥", 5 ]) o1.ReplaceAt([2, 5], "♥") # Or ReplaceAnyAt() ? @@( o1.Content() ) o1.ReplaceThisAt(3, "♥", 3) ? @@( o1.Content() ) #--> [ "♥", "♥", "♥", "♥", "♥" ] #--> [ "♥", "♥", 3, "♥", "♥" ]library test · stzList
ReplaceThisItemAt
2
stzList · stzListReplacer
o1 = new stzList([ 1, 2, "♥", 4, "♥" ]) o1.ReplaceThisItemAt(3, "♥", :With = "★") ? @@( o1.Content() ) o1.ReplaceThisItemAt(2, "BLA", :With = "★" ) ? @@( o1.Content() ) #--> [ 1, 2, "★", 4, "♥" ] #--> [ 1, 2, "★", 4, "♥" ]library test · stzList
ReplaceThisItemAtPositions
2
stzList · stzListReplacer
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceThisItemAtPositions([ 2, 3 ], 3, 2) ? @@( o1.Content() ) #--> [ 5, 2, 8, 3, 1 ]composed from the signature, run for this page · stzList
ReplaceTrailingItems
1
stzList
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.ReplaceTrailingItems(3) ? @@( o1.Content() ) #--> [ 5, 3, 8, 3, 3 ]composed from the signature, run for this page · stzList
ReplaceWithMany
1
stzString
o1 = new stzString("--Ring--Softanza--")
o1.ReplaceWithMany("--", [ "1", "2", "3" ])
# the three '--' get 1, 2, 3
? o1.Content()
#--> 1Ring2Softanza3library test · stzStringReport
12
stzCohort · stzDataSet · stzExerciseCheck · stzFrameGraph · stzMaterialGraph · stzMathClaimSet · stzOrgChart · stzRuleReport · stzSecurityPosture · stzServiceRegistry · stzTukeyStory · stzUiDocumentanother name of GenerateReport · Summary
Representation
1
stzNumber
oS = StzNumberQ("0.1")
oS.Add("0.2")
? oS.Content()
? oS.IsExact()
? oS.Representation()
#--> 0.3
#--> 1
#--> decimallibrary test · stzNumberRepresentsAHexUnicodeInStringQ
1
stzQuestion
? WhatQ().TheQ().RepresentsAHexUnicodeInStringQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsAHexUnicodeQ
1
stzQuestion
? WhatQ().TheQ().RepresentsAHexUnicodeQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsBinaryNumber
2
stzString · stzStringChecker
# plain
? Q("0b110001.1001").RepresentsNumberInBinaryForm()
# signed before the prefix
? Q("-0b110001.1001").RepresentsNumberInBinaryForm()
# sign inside: malformed
? Q("0b-110001.1001").RepresentsNumberInBinaryForm()
#--> 1
#--> 1
#--> 0library test · stzStringRepresentsBinaryNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsBinaryNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsCalculableIntegerQ
1
stzQuestion
? WhatQ().TheQ().RepresentsCalculableIntegerQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsCalculableNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsCalculableNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsCalculableRealNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsCalculableRealNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsDecimalNumber
2
stzString · stzStringChecker
o1 = new stzString("banana split")
? o1.RepresentsDecimalNumber()
#--> 0composed from the signature, run for this page · stzStringRepresentsDecimalNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsDecimalNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsHexNumber
2
stzString · stzStringChecker
# hex form
? Q("x4E992").RepresentsNumberInHexForm()
#--> 1library test · stzStringRepresentsHexNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsHexNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsInteger
2
stzString · stzStringChecker
o1 = new stzString("banana split")
? o1.RepresentsInteger()
#--> 0composed from the signature, run for this page · stzStringRepresentsIntegerQ
1
stzQuestion
? WhatQ().TheQ().RepresentsIntegerQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsNumber
2
stzString · stzStringChecker
o1 = new stzString("banana split")
? o1.RepresentsNumber()
#--> 0composed from the signature, run for this page · stzStringRepresentsNumberInBinaryFormQ
1
stzQuestion
? WhatQ().TheQ().RepresentsNumberInBinaryFormQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsNumberInDecimalFormQ
1
stzQuestion
? WhatQ().TheQ().RepresentsNumberInDecimalFormQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsNumberInHexFormQ
1
stzQuestion
? WhatQ().TheQ().RepresentsNumberInHexFormQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsNumberInOctalFormQ
1
stzQuestion
? WhatQ().TheQ().RepresentsNumberInOctalFormQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsNumberInUnicodeHexForm
2
stzString · stzStringChecker
# HexPrefix() is '0x'
? HexPrefix()
# '0x066E' is a hex number
? Q( HexPrefix() + "066E").RepresentsNumberInHexForm()
# 'U+066E' is a unicode-hex number
? Q("U+066E").RepresentsNumberInUnicodeHexForm()
#--> 0x
#--> 1
#--> 1library test · stzStringRepresentsNumberInUnicodeHexFormQ
1
stzQuestion
? WhatQ().TheQ().RepresentsNumberInUnicodeHexFormQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsOctalNumber
2
stzString · stzStringChecker
# octal form
? Q("o01234567").RepresentsNumberInOctalForm()
#--> 1library test · stzStringRepresentsOctalNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsOctalNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsRealInStringQ
1
stzQuestion
? WhatQ().TheQ().RepresentsRealInStringQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsRealNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsRealNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsSignedInteger
2
stzString · stzStringChecker
o1 = new stzString("banana split")
? o1.RepresentsSignedInteger()
#--> 0composed from the signature, run for this page · stzStringRepresentsSignedIntegerQ
1
stzQuestion
? WhatQ().TheQ().RepresentsSignedIntegerQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsSignedNumber
2
stzString · stzStringChecker
o1 = new stzString("banana split")
? o1.RepresentsSignedNumber()
#--> 0composed from the signature, run for this page · stzStringRepresentsSignedNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsSignedNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsSignedRealNumber
1
stzString
o1 = new stzString("banana split")
? o1.RepresentsSignedRealNumber()
#--> 0composed from the signature, run for this page · stzStringRepresentsSignedRealNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsSignedRealNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsUnsignedInteger
2
stzString · stzStringChecker
o1 = new stzString("banana split")
? o1.RepresentsUnsignedInteger()
#--> 0composed from the signature, run for this page · stzStringRepresentsUnsignedIntegerQ
1
stzQuestion
? WhatQ().TheQ().RepresentsUnsignedIntegerQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsUnsignedNumber
2
stzString · stzStringChecker
o1 = new stzString("banana split")
? o1.RepresentsUnsignedNumber()
#--> 0composed from the signature, run for this page · stzStringRepresentsUnsignedNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsUnsignedNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRepresentsUnsignedRealNumber
1
stzString
o1 = new stzString("banana split")
? o1.RepresentsUnsignedRealNumber()
#--> 0composed from the signature, run for this page · stzStringRepresentsUnsignedRealNumberQ
1
stzQuestion
? WhatQ().TheQ().RepresentsUnsignedRealNumberQ().Of("Softanza")
#--> 0composed from the signature, run for this page · stzQuestionRequiresStopValue
1
stzChainOfValue
o1 = new stzChainOfValue("x")
? o1.RequiresStopValue()
#--> 0composed from the signature, run for this page · stzChainOfValueReset
13
Resize
5
stzCanvas · stzListOfBytes · stzNumBuffer · stzPanel · stzScene
o1 = new stzScene(1100, 660) ? o1.Resize(2, 5) #--> 1composed from the signature, run for this page · stzScene
Resolved
1
stzMathMotion
o1 = new stzMathMotion(:Function, [ :f = "{a} * x", :on = [ 0, 1 ] ])
? @@( o1.Resolved() )
#--> [ [ "f", "{a} * x" ], [ "on", [ 0, 1 ] ] ]composed from the signature, run for this page · stzMathMotionResolveFontColor
2
stzColorResolver · stzDiagram
o1 = new stzColorResolver() ? o1.ResolveFontColor(TRUE) #--> blackcomposed from the signature, run for this page · stzColorResolver
ResourceCount
1
stzFrameGraph
o1 = new stzFrameGraph(256, 256) ? o1.ResourceCount() #--> 0composed from the signature, run for this page · stzFrameGraph
Result
11
stzExterCode · stzGraphQuery · stzJuliaCode · stzNaturalEngine · stzPrologCode · stzPythonCode · stzQmlCode · stzRCode · stzReactiveTask · stzRegex · stzSystemCallanother name of Matches · Output
Results
5
stzListexuter · stzOrgChartSimulation · stzRegex · stzRegexuter · stzWorkerPoolanother name of Matches
ResultsAndMatches
2
stzListexuter · stzRegexuter
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.ResultsAndMatches() )
#--> [ [ 246, "123" ], [ 912, "456" ], [ "HELLO", "hello" ], [ "WORLD", "world" ] ]composed from the signature, run for this page · stzRegexuterResultsAndTheirMatches
2
stzListexuter · stzRegexuter
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.ResultsAndTheirMatches() )
#--> [ [ 246, "123" ], [ 912, "456" ], [ "HELLO", "hello" ], [ "WORLD", "world" ] ]composed from the signature, run for this page · stzRegexuterResultXT
2
stzListexuter · stzRegexuter
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.ResultXT() )
#--> [ [ 246, "123" ], [ 912, "456" ], [ "HELLO", "hello" ], [ "WORLD", "world" ] ]composed from the signature, run for this page · stzRegexuterReturnType
2
stzNumber · stzSystemCall
o1 = new stzNumber(12) ? o1.ReturnType() #--> numbercomposed from the signature, run for this page · stzNumber
ReturnTypeQ
1
stzQuestion
? WhatQ().TheQ().ReturnTypeQ().Of(12) #--> numbercomposed from the signature, run for this page · stzQuestion
Reverse
9
stzList · stzListMover · stzListOfNumbers · stzListOfPairs · stzListSorter · stzString · stzStringCharList · stzStringEncoder · stzStringList
o1 = new stzString("banana split")
o1.Reverse()
? o1.Content()
#--> tilps ananabcomposed from the signature, run for this page · stzStringReversed
14
stzBinaryNumber · stzList · stzListMover · stzListOfNumbers · stzListOfPairs · stzListSorter · stzString · stzStringCharList · stzStringChecker · stzStringEncoder · stzStringFormatter · stzStringList · stzStringUnicodeList · stzYielderanother name of ItemsSwapped
ReverseDigits
1
stzNumber
o1 = new stzNumber(12) ? o1.ReverseDigits() #--> 21composed from the signature, run for this page · stzNumber
ReversedQ
1
stzQuestion
? WhatQ().TheQ().ReversedQ().Of("Softanza")
#--> aznatfoScomposed from the signature, run for this page · stzQuestionReverseEachWord
1
stzStringText
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.ReverseEachWord()
? o1.Content()
#--> ehT kciuq nworb .xof tI !spmujcomposed from the signature, run for this page · stzStringTextReverseItems
2
stzListOfPairs · stzListSorter
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6]) o1.ReverseItems() ? @@( o1.Content() ) #--> [ 6, 2, 9, 5, 1, 4, 1, 3 ]composed from the signature, run for this page · stzListSorter
ReverseKeysAndValues
1
stzHashList
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ]) o1.ReverseKeysAndValues() ? @@( o1.Content() ) #--> [ [ "Aya", "name" ], [ "30", "age" ], [ "Niamey", "city" ] ]composed from the signature, run for this page · stzHashList
ReverseNumbers
1
stzListOfNumbers
o1 = new stzListOfNumbers([ 4, 8, 15, 16, 23, 42 ]) o1.ReverseNumbers() ? @@( o1.Content() ) #--> [ 42, 23, 16, 15, 8, 4 ]composed from the signature, run for this page · stzListOfNumbers
ReversePairs
1
stzListOfPairs
o1 = new stzListOfPairs([ [ 1, "a" ], [ 2, "b" ], [ 3, "c" ] ]) o1.ReversePairs() ? @@( o1.Content() ) #--> [ [ "a", 1 ], [ "b", 2 ], [ "c", 3 ] ]composed from the signature, run for this page · stzListOfPairs
ReverseWords
2
stzString · stzStringText
o1 = new stzString("banana split")
o1.ReverseWords()
? o1.Content()
#--> split bananacomposed from the signature, run for this page · stzStringRevokeCapability
7
RevokeSession
8
Rhs
1
stzMathClaim
o1 = new stzMathClaim("3^2 + 4^2 + 1 = 5^2")
? o1.Rhs()
#--> 5^2composed from the signature, run for this page · stzMathClaimRhumbAzimuth
1
stzGeoEllipsoid
o1 = new stzGeoEllipsoid(:WGS84) ? o1.RhumbAzimuth(2, 5, 2, 2) #--> -90composed from the signature, run for this page · stzGeoEllipsoid
RhumbBetween
1
stzGeoEllipsoid
o1 = new stzGeoEllipsoid(:WGS84) ? @@( o1.RhumbBetween(2, 5, 2, 2) ) #--> [ [ "metres", 333756.39 ], [ "km", 333.76 ], [ "azimuth", -90 ] ]composed from the signature, run for this page · stzGeoEllipsoid
RhumbDestinationKm
1
stzGeoEllipsoid
o1 = new stzGeoEllipsoid(:WGS84) ? @@( o1.RhumbDestinationKm(2, 5, 2, 2) ) #--> [ 2.02, 5.00 ]composed from the signature, run for this page · stzGeoEllipsoid
RhumbDistanceKm
1
stzGeoEllipsoid
o1 = new stzGeoEllipsoid(:WGS84) ? o1.RhumbDistanceKm(2, 5, 2, 2) #--> 333.76composed from the signature, run for this page · stzGeoEllipsoid
RhumbFlat
1
stzGeoEllipsoid
o1 = new stzGeoEllipsoid(:WGS84) ? @@( o1.RhumbFlat(2, 5, 2, 2, 2) ) #--> [ 5, 2, 2, 2 ]composed from the signature, run for this page · stzGeoEllipsoid
RhumbLineBetween
1
stzGeoEllipsoid
o1 = new stzGeoEllipsoid(:WGS84) ? @@( o1.RhumbLineBetween(2, 5, 2, 2, 2) ) #--> [ [ 5, 2 ], [ 2, 2 ] ]composed from the signature, run for this page · stzGeoEllipsoid
RightAligned
2
stzString · stzStringFormatter
o1 = new stzStringFormatter("hello world")
? o1.RightAligned(12)
#--> hello worldcomposed from the signature, run for this page · stzStringFormatterRightBound
1
stzString
o1 = new stzString("banana split")
? o1.RightBound()
#--> tcomposed from the signature, run for this page · stzStringRightBoundQ
1
stzQuestion
? WhatQ().TheQ().RightBoundQ().Of("Softanza")
#--> acomposed from the signature, run for this page · stzQuestionRightCharQ
1
stzQuestion
? WhatQ().TheQ().RightCharQ().Of("Softanza")
#--> acomposed from the signature, run for this page · stzQuestionRightCharRemoved
1
stzString
o1 = new stzString("banana split")
? o1.RightCharRemoved()
#--> banana splicomposed from the signature, run for this page · stzStringRightCharRemovedQ
1
stzQuestion
? WhatQ().TheQ().RightCharRemovedQ().Of("Softanza")
#--> Softanzcomposed from the signature, run for this page · stzQuestionRightNBytes
1
stzListOfBytes
o1 = new stzListOfBytes("Hello, World!")
? o1.RightNBytes(2)
#--> d!composed from the signature, run for this page · stzListOfBytesRipleyK
1
stzGeoPoints
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoPoints([ 1, 1, 2, 2, 3, 3 ], oW)
? @@( o1.RipleyK([ 100, 200, 300 ]) )
#--> [ 0, 131246.40, 131246.40 ]composed from the signature, run for this page · stzGeoPointsRiskOf
1
stzGovernance
o1 = new stzGovernance("constellation-regime")
? o1.RiskOf("an")
#--> 0composed from the signature, run for this page · stzGovernanceRobustScale
1
stzDataSet
o1 = new stzDataSet([ 2, 4, 4, 5, 7, 9, 12, 25 ]) ? @@( o1.RobustScale() ) #--> [ -0.70, -0.35, -0.35, -0.17, 0.17, 0.52, 1.04, 3.30 ]composed from the signature, run for this page · stzDataSet
Roles
2
stzTheme · stzUiDocument
o1 = new stzTheme(:pro) ? @@( o1.Roles() ) #--> [ "primary", "success", "warning", "danger", "info", "muted", "neutral", "background" ]composed from the signature, run for this page · stzTheme
Root
5
stzFileSystemBridge · stzFolder · stzHtmlBuilder · stzTree · stzXml
o1 = new stzTree( :root = [ :node1 = [ "X", :node11 = [ "A", "B", "C", "D", "X" ] ], :node2 = [ 1, 2, 3 ], :node3 = [ "X", 4, 5 ] ] ) ? @@( o1.Root() ) #--> [ "root", [ [ "node1", [ "X", [ "node11", [ "A", "B", "C", "D", "X" ] ] ] ], [ "node2", [ 1, 2, 3 ] ], [ "node3", [ "X", 4, 5 ] ] ] ]composed from the signature, run for this page · stzTree
ROT13ed
1
stzStringCrypto
o1 = new stzStringCrypto("plain ascii text")
? o1.ROT13ed()
#--> cynva nfpvv grkgcomposed from the signature, run for this page · stzStringCryptoROT47ed
1
stzStringCrypto
o1 = new stzStringCrypto("plain ascii text")
? o1.ROT47ed()
#--> A=2:? 2D4:: E6IEcomposed from the signature, run for this page · stzStringCryptoRotatedLeft
2
stzList · stzListMover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) ? @@( o1.RotatedLeft(2) ) #--> [ 8, 3, 1, 5, 3 ]composed from the signature, run for this page · stzList
RotatedRight
2
stzList · stzListMover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) ? @@( o1.RotatedRight(2) ) #--> [ 3, 1, 5, 3, 8 ]composed from the signature, run for this page · stzList
RotateLeft
2
stzList · stzListMover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RotateLeft(2) ? @@( o1.Content() ) #--> [ 8, 3, 1, 5, 3 ]composed from the signature, run for this page · stzList
RotateRight
2
stzList · stzListMover
o1 = new stzList([ 5, 3, 8, 3, 1 ]) o1.RotateRight(2) ? @@( o1.Content() ) #--> [ 3, 1, 5, 3, 8 ]composed from the signature, run for this page · stzList
RotateSecret
7
RotationOf
1
stzGeoProjection
o1 = new stzGeoProjection(:CylindricalEqualArea) ? @@( o1.RotationOf() ) #--> [ 0, 0, 0 ]composed from the signature, run for this page · stzGeoProjection
Round
1
stzNumber
StzDecimals(3) # Change the program round and memorises it o1 = new stzNumber([ 981.123456701, :round = 5 ]) ? o1.Round() ? o1.NumericValue() # Sensitive to current on the program round, 3. ? o1.StringValue() # Rounded to the what is specified at the object level, 5. #--> 5 #--> 981.123 #--> 981.12346library test · stzNumber
RoundedTo
1
stzNumber
# RoundedTo still rounds half-up
? (new stzNumber("2.5")).RoundedTo(0)
# ...and still tidies trailing zeros
? (new stzNumber("12.456")).RoundedTo(4)
# ...and still gets 100.4 right
? (new stzNumber("100.4")).RoundedTo(0)
#--> 3
#--> 12.456
#--> 100library test · stzNumberRoundedToHalfEven
1
stzNumber
o1 = new stzNumber(12) ? o1.RoundedToHalfEven(2) #--> 12.00composed from the signature, run for this page · stzNumber
RoundedToHalfUp
1
stzNumber
o1 = new stzNumber(12) ? o1.RoundedToHalfUp(2) #--> 12.00composed from the signature, run for this page · stzNumber
RoundIsSameAsRoundOf
1
stzNumber
o1 = new stzNumber(12) ? o1.RoundIsSameAsRoundOf(3) #--> 0composed from the signature, run for this page · stzNumber
RoundQ
1
stzQuestion
? WhatQ().TheQ().RoundQ().Of(12) #--> 2composed from the signature, run for this page · stzQuestion
Rounds
1
stzMathDiagram
o1 = new stzMathDiagram(StzGraphDomain(), new stzMathSubstance(StzGraphDomain()), StzCurvedGraphStyle()) ? o1.Rounds() #--> 0composed from the signature, run for this page · stzMathDiagram
RowCount
3
stzAppBackend · stzGeoField · stzSqliteDataSource
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? o1.RowCount() #--> 3composed from the signature, run for this page · stzGeoField
Rows
5
stzAppBackend · stzDatabase · stzMatrix · stzSoundGrid · stzSqliteDataSource
o1 = new stzMatrix([ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]) ? o1.Rows() #--> 3composed from the signature, run for this page · stzMatrix
RPartition
2
stzString · stzStringSplitter
o1 = new stzString("banana split")
? @@( o1.RPartition("an") )
#--> [ "ban", "an", "a split" ]composed from the signature, run for this page · stzStringRPartitionAfter
1
stzStringSplitter
o1 = new stzStringSplitter("one;two,three:four")
? @@( o1.RPartitionAfter(" ") )
#--> [ "one;two,three:four" ]composed from the signature, run for this page · stzStringSplitterRuleBases
1
stzOrgChart
oOrg = new stzOrgChart("acme")
oOrg.LoadRuleBase(new stzSOXRuleBase())
# LoadRuleBase records the base
? len(oOrg.RuleBases()) >= 1
# ...the base kept its name
? (new stzSOXRuleBase()).Name()
#--> 1
#--> SOXlibrary test · stzOrgChartRules
8
RulesAreSound
10
stzAgentGraph · stzCodeGraph · stzErDiagram · stzFamilyTree · stzFaultTree · stzGraph · stzNetworkDiagram · stzOrgChart · stzPetriNet · stzSecurityGraphanother name of GovernanceIsSound · IsSound
RulesSummary
1
stzGraph
oGraph = new stzGraph("org")
oGraph.LoadFromStzRulz("../_data/bceao_banking.stzrulz")
? "Rules loaded: " + oGraph.NumberOfRules()
? @@( oGraph.RulesSummary()[:Validation] )
? @@( oGraph.RulesSummary()[:Constraint] )
#--> Rules loaded: 2
#--> [ "board_required", "audit_independence" ]
#--> [ ]library test · stzGraphRuleType
1
stzGraphRule
o1 = new stzGraphRule("no-llm-effectful-probe")
? o1.RuleType()
#--> validationcomposed from the signature, run for this page · stzGraphRuleRun
22
stzAppServer · stzChapter · stzComputePipeline · stzDeployment · stzDotCode · stzExterCode · stzForEachObject · stzGpu · stzGraphFinder · stzGraphPlanner · stzGraphQuery · stzImgToAscii · stzJuliaCode · stzKMeans · stzNode · stzPrologCode · stzPythonCode · stzQmlCode · stzRCode · stzReactiveSystem · stzRuleReport · stzSystemCallanother name of Execute

