Variant: Difference between revisions

Jump to navigation Jump to search
2 bytes added ,  10:07, 4 June 2022
m
(→‎History: Dyalog: variant can be applied to primitives)
m (→‎Usage: typo)
Line 10: Line 10:


== Usage ==
== Usage ==
The Dyalog system operator <source lang=apl inline>⎕S</source> takes as operands a text be search for and what to return for each match (with <code>&</code> meaning the matched text):
The Dyalog system operator <source lang=apl inline>⎕S</source> takes as operands a text be searched for and what to return for each match (with <code>&</code> meaning the matched text):
<source lang=apl>
<source lang=apl>
       ('abra'⎕S'&')'Abrabrabra'
       ('abra'⎕S'&')'Abrabrabra'
13

edits

Navigation menu