so i want to have a string and then remove the text after the last of a specific characters, so
heres the string
hello world a b c this text should not be