Strip comments from a string: Difference between revisions

{{omit from|PARI/GP}}
(Added Haskell.)
({{omit from|PARI/GP}})
Line 286:
# Stripping comments from an input file
cut -f 1 -d '#' foobar.txt | cut -f 1 -d ';'</lang>
 
{{omit from|PARI/GP|No real capacity for string manipulation}}
 
[[Category:String manipulation]]