Help: Filtering Feedparser RSS output

I am trying to run a rss feed through a feedparser node to a text-to-speech node, but the feedparser output has the website url included with the msg.payload. How can I filter the output to not include the url?

run it through a function node with this in

msg.payload = msg.payload.split("<", 1)[0];
return msg;

Thank you so much! This fixed my problem straight away.