Strip comments from a string: Difference between revisions

m
Line 1,360:
# stripComments :: [Char] -> String -> String
def stripComments(cs):
'''The lines of the input text s, with any
comments (defined as starting with one
of the characters in cs) stripped out.
9,655

edits