Can you delete keywords in a string?
I tried using:
if "keyword" in var:
print(var - "keyword")
But it didn't work, and it let out out this error message:
TypeError: unsupported operand type(s) for -: 'str' and 'str'
I'm probably doing this incorrectly, so is there another way of doing this?
Thanks.