how to remove stuff from string after a character in python code example
Example: delete certain characters from a string python
for char in line:
if char in " ?.!/;:":
line.replace(char,'')
for char in line:
if char in " ?.!/;:":
line.replace(char,'')