Strip comments from a string: Difference between revisions

No edit summary
Line 479:
 
=={{header|COBOL}}==
{{works with|GnuCOBOL}}
<lang cobol>> identification division.
program-id. StripComments.
 
Line 502 ⟶ 503:
.</lang>
{{out}}
<pre>"apples, pears"
"apples, pears"</pre>
"apples, pears" "apples, pears"
</pre>
 
=={{header|Common Lisp}}==