Variant: Difference between revisions
Jump to navigation
Jump to search
(→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 | 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' |