Hello and thank you for any help. I have a variable called strReqType that pulls a string from a website. As a variable, each time I pull the variable the contents are different
Claims - claims handling
Complaint - driver issue
Service request - send copies
Customs inquiry - customs process
What I want to remove in the variable is the last space before the dash and the dash and everything after it. I have about 25 of the first half of the variable and dozens of the second half. How can I accomplish this task?