i'm stuck

i can't seem to make a code to remove a word, and everything after it. the word will always be "status"

how can i remove that and everything after it, but keep everything before it?

thank you