Strip comments from a string: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 2,283:
=={{header|Wren}}==
This is based on what the post 29th March, 2011 requirements appear to be.
<syntaxhighlight lang="ecmascriptwren">var markers = ["#", ";"]
 
var stripComments = Fn.new { |s|
Line 2,310:
' apples, pears ' -> 'apples, pears'
</pre>
 
 
=={{header|XPL0}}==
9,492

edits