Comma quibbling: Difference between revisions
Content deleted Content added
→{{header|PL/I}}: Marked incorrect. |
→Counted replacement: Possible trans of Tcl. I know I skimmed the entry and new Tcl was now a one-liner. |
||
Line 204:
===Counted replacement===
(Possible){{trans|Tcl}}
replace() will replace nothing if the count of items to replace is zero, (and negative integer counts act to replace all occurrences).
This combines with the length of the input sequence to allow this to work:
|