Created
April 17, 2016 23:58
-
-
Save cxtadment/578875b4dbbd5b11966823dee1ee2396 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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