Skip to content

Instantly share code, notes, and snippets.

@cxtadment
Created April 17, 2016 23:58
Show Gist options
  • Save cxtadment/578875b4dbbd5b11966823dee1ee2396 to your computer and use it in GitHub Desktop.
Save cxtadment/578875b4dbbd5b11966823dee1ee2396 to your computer and use it in GitHub Desktop.
def removeForward(content):
forward_index = content.find("//")
if not forward_index == -1:
content = content[0:forward_index]
return content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment